Forums / General Discussions / Set as home page

Set as home page

2 posts, 0 answered
  1. Zyad Rujeedawa
    Zyad Rujeedawa avatar
    31 posts
    Registered:
    18 Feb 2010
    28 Feb 2012
    Link to this post
    Hello,

    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.

    Thanks,
  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    Registered:
    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>
            </li>

    Greetings,
    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