• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Custom Logout

A

amiles248

Guest
Does anyone know if there is a way to re-map the URL of the "Go to Admin Panel" and "Logout" buttons in Sitebuilder? I would prefer that my end users not see the sitebuilder admin screen or login screen at all.
 
Hello,
You cannot change url links, but you can hide them from user via Sitebuilder SDK, Skins part. Using this part you can customize Sitebuilder elements design. Find there skin ids "ToolBarAdmin" and "ToolBarLogout", and set style properties such that these buttons become invisible.
 
Still need help

After searching around I found that the ToolBarAdmin and ToolBarLogout parameters are in the IconButton.skin file. I replaced the images with blank images, however the text still appears. How can I get rid of the text and therefore the link?

The parameters in this file appear to only deal with the icons and not the text of the links.





<%-- Wizard Header Tool bar buttons --%>
<SiteBuilder:IconButton SkinID="ToolBarHelp" runat="server" IconImageUrl="icons/help.png" OverIconImageUrl="icons/help.png" Height="100%" IconImageHeight="16" IconImageWidth="16">
<IconCellStyle BackColor="#DBDBDB" PaddingTop="5" PaddingRight="5" PaddingBottom="5" PaddingLeft="10"/>
<RightSeparatorStyle Width="0"/>
<LeftSeparatorStyle Width="0"/>
<TextCellStyle CssClass="sb-tools-text"/>
</SiteBuilder:IconButton>
<SiteBuilder:IconButton SkinID="ToolBarSupport" runat="server" IconImageUrl="icons/support.png" OverIconImageUrl="icons/support.png" Height="100%">
<IconCellStyle BackColor="#DBDBDB" PaddingTop="5" PaddingRight="5" PaddingBottom="5" PaddingLeft="10"/>
<RightSeparatorStyle Width="0"/>
<LeftSeparatorStyle Width="0"/>
<TextCellStyle CssClass="sb-tools-text"/>
</SiteBuilder:IconButton>
<SiteBuilder:IconButton SkinID="ToolBarFeedback" runat="server" IconImageUrl="icons/feedback.gif" OverIconImageUrl="icons/feedback.gif" Height="100%">
<IconCellStyle BackColor="#DBDBDB" PaddingTop="5" PaddingRight="5" PaddingBottom="5" PaddingLeft="10"/>
<RightSeparatorStyle Width="0"/>
<LeftSeparatorStyle Width="0"/>
<TextCellStyle CssClass="sb-tools-text"/>
</SiteBuilder:IconButton>
<SiteBuilder:IconButton SkinID="ToolBarLogout" runat="server" IconImageUrl="icons/logout.png" OverIconImageUrl="icons/logout.png" Height="100%">
<IconCellStyle BackColor="#DBDBDB" PaddingTop="5" PaddingRight="5" PaddingBottom="5" PaddingLeft="10"/>
<RightSeparatorStyle Width="0"/>
<LeftSeparatorStyle Width="0"/>
<TextCellStyle CssClass="sb-tools-text" PaddingRight="10" />
</SiteBuilder:IconButton>
<SiteBuilder:IconButton SkinID="ToolBarAdmin" runat="server" IconImageUrl="icons/admin_panel.png" OverIconImageUrl="icons/admin_panel.png" Height="100%">
<IconCellStyle BackColor="#DBDBDB" PaddingTop="5" PaddingRight="5" PaddingBottom="5" PaddingLeft="10"/>
<RightSeparatorStyle Width="0"/>
<LeftSeparatorStyle Width="0"/>
<TextCellStyle CssClass="sb-tools-text"/>
</SiteBuilder:IconButton>
 
Try Visible="False" attribute:

<SiteBuilder:IconButton Visible="False" SkinID="ToolBarAdmin" runat="server" IconImageUrl="icons/admin_panel.png" OverIconImageUrl="icons/admin_panel.png" Height="100%">
<IconCellStyle BackColor="#DBDBDB" PaddingTop="5" PaddingRight="5" PaddingBottom="5" PaddingLeft="10"/>
<RightSeparatorStyle Width="0"/>
<LeftSeparatorStyle Width="0"/>
<TextCellStyle CssClass="sb-tools-text"/>
</SiteBuilder:IconButton>
 
Back
Top