Try Now
More in this section

Forums / Developing with Sitefinity / how to show anonymous access denied pages in site menu

how to show anonymous access denied pages in site menu

2 posts, 0 answered
  1. Mohudoom Faluludeen
    Mohudoom Faluludeen avatar
    19 posts
    06 Nov 2009
    13 Oct 2010
    Link to this post

    I have a page in sitefinity CMS which has set deny permissions for anonymous access. The site menu control which I have used in the site is not showing up that page in the menu. I just want that page link to be visible on the site menu. could you please guide me how to do this?

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    14 Oct 2010
    Link to this post
    Hello Mohudoom Faluludeen,

    Thank you for using our services.

    SiteMenu control is populated from the SiteMap so if a user does not have permissions to view a page this page will not appear in the site map for the current user. This means that you cannot use the SiteMenu to show deny anonymous pages. You will have to develop a custom menu which gets pages through the Pages API. You can find samples for this in the link - Sitemenu Builder. Or something like the sample bellow.

    Radoslav Georgiev
    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
2 posts, 0 answered