Try Now
More in this section

Forums / Designing with Sitefinity / breadcrumb and default.aspx page

breadcrumb and default.aspx page

2 posts, 0 answered
  1. Johnson
    Johnson avatar
    5 posts
    27 Apr 2007
    20 Dec 2007
    Link to this post
    How do I prevent the default.aspx (set to not show in navigation) pages from showing up in the Breadcrumb Navigation?

  2. Pepi
    Pepi avatar
    981 posts
    20 Oct 2016
    21 Dec 2007
    Link to this post
    Hello Johnson,

    The Sitefinity Breadcrumb control inherits from the Microsoft SiteMapPath control that gets all pages of the SiteMap. So, to achieve the required functionality, you need to override the  GetCurrentNodeAndHintAncestorNodes method of the CmsSiteMapProvider class to get only navigable pages. This means you should recreate the page structure of the SiteMap and exclude non-navigable pages by checking if the Navigable property of the current cms node is true.

    Hope this helps

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered