More in this section
Forums / General Discussions / Set as home page

Set as home page

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Zyad Rujeedawa
    Zyad Rujeedawa avatar
    31 posts
    18 Feb 2010
    28 Feb 2012
    Link to this post

    I really need to disable the "set as homepage" functionality.
    We have a lot of webmasters on our site, and for whatever reason, they tend to change the homepage by clicking the set as homepage, and this disrupts our site

    I want to specify the "set as home page" once, and then remove this functionality, even if it means going in the code and removing the link.

  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    24 Sep 2012
    02 Mar 2012
    Link to this post
    Hi Zyad,

     This can be done by going to your project's Sitefinity folder, then Admin >> ControlTemplates >> Pages >>SiteMapPanel.ascx and setting a display:none style to the PageDefault <li> item:

    <li class="PageDefault" style="display:none">
                <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>

    Svetoslav Petsov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered