+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / Hiding the set home page button

Hiding the set home page button

3 posts, 0 answered
  1. UI Crew
    UI Crew avatar
    151 posts
    Registered:
    27 Sep 2012
    30 Apr 2008
    Link to this post
    Hi,

    A few people have experiementally pressed the set home page button is there a way to hide it or stop cms users from playing with it.

    Thanks

    Seth
  2. Joe
    Joe avatar
    64 posts
    Registered:
    05 Jul 2012
    30 Apr 2008
    Link to this post
    One way of removing the button is to edit the Sitefinity\Admin\ControlTemplates\Pages\SiteMapPanel.ascx file.

    Look for
            <li class="PageDefault"
                <asp:LinkButton ID="LinkButton1" CommandName="HomePage" Text="<%$Resources:SetHomePage %>" ToolTip="<%$Resources:SetHomePageTooltip %>" runat="server"><asp:Literal runat="server" Text="<%$Resources:SetAsHomePage %>"></asp:Literal></asp:LinkButton> 
            </li> 
     

    And comment it out.
  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    02 May 2008
    Link to this post
    Hi,

    This is actually the way.
    Joseph, your Telerik account has been updated.

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
3 posts, 0 answered