More in this section

Forums / General Discussions / Set as homepage

Set as homepage

5 posts, 0 answered
  1. Zyad Rujeedawa
    Zyad Rujeedawa avatar
    31 posts
    Registered:
    18 Feb 2010
    05 Jan 2011
    Link to this post
    Hi,

    I want to prevent access to the set as homepage button, as some of my webmasters usually do not use it properly.

    Is there a way to

    1. Remove a page as a homepage without setting another one as homepage, as my homepage is a static HTML page, which then has links to go into teh sitefinity websites.
    2. Disable the Set a homepage button.

    Thanks for your help,
    Zyad

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    05 Jan 2011
    Link to this post
    Hello Zyad,

    1. Remove a page as a homepage without setting another one as homepage, as my homepage is a static HTML page, which then has links to go into teh sitefinity websites.

    You can do this from /App_Data/Sitefinity/Configuration/PagesConfig.config. When you set a page there is a configuration property - "homePageId" which you can remove.

    2. Disable the Set a homepage button.


    This is not supported, because the "button" you see is a CommandWidgetElement which is defined in PagesDefinitions which cannot be extended.


    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Jason
    Jason avatar
    21 posts
    Registered:
    12 Nov 2009
    14 Jan 2011
    Link to this post
    <quote>You can do this from /App_Data/Sitefinity/Configuration/PagesConfig.config. When you set a page there is a configuration property - "homePageId" which you can remove.</quote>

    In SF v3.7 I don't have a siteroot/App_Data/Sitefinity directory.  Is this a v4.0 item?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    14 Jan 2011
    Link to this post
    Hi Jason,

    Yes this applies for Sitefinity 4.0. The thread is marked for 4.0 version

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Stuart Radlett
    Stuart Radlett avatar
    12 posts
    Registered:
    13 Feb 2009
    06 Oct 2011
    Link to this post
    If you set the properties of PagesConfig.config at file level to "read only" it prevents this from being changed by site editors to a different page - not a clean solution but it works
5 posts, 0 answered