1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Public Site map

Public Site map

4 posts, 0 answered
  1. Allen
    Allen avatar
    71 posts
    Registered:
    04 Aug 2007
    18 Mar 2008
    Link to this post

    I have this basic page hierarchy:

    All Pages
      -Pages
         Page1
         Page 2

      -Additional Info
         Page 3
             Page 5
             Page 6
         Page 4
         SiteMap Page

    I have created a user control which has been placed on the "SiteMap Page" and in reviewing your other navigation controls to see how  you get the dynamic site map data, I have also added an asp:SiteMapDatasource control to my user control.  As of now, I can get all the data up to the "Additional Info" node set.  However, I cannot get back to the "root".  If I "showStartingNode", I get "[Site Map]", but cannot seem to set any property to get me to the "Pages" node set or at least get that data as well.  Can you please tell me how to get the full site map data?


    Thanks.
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    21 Mar 2008
    Link to this post
    Hello Allen,

    A possible reason for this could be if the corresponding page is not included in site Navigation i.e. Show in navigation property is set to false.


    Also, please check the status of the pages that do not appear in the SiteMap and make sure that it is "Published". Pay attention to the fact that the SiteMap contains only published pages.

    Do let us know how it goes.


    Sincerely yours,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Allen
    Allen avatar
    71 posts
    Registered:
    04 Aug 2007
    21 Mar 2008
    Link to this post
    Pepi,

    Thanks for the reply, but this isn't the issue.  I have 2 different menu controls on the master page (top and left) with top starting at "Pages" and left starting at "Additional Info".  Both of the menus are rendering correctly - but of course - they are controls you guys ship with the app.

    My "SiteMap" page, on the other hand, has a siteMapDatasource control in the userControl, but for some reason only gets data upto the "Additional Info" branch (which happens to be that page's parent node).  Are you telling me that the page should be able to read all the map nodes?  Here are my (very simple) settings:

    <asp:SiteMapDataSource ID="SitemapDataSource2" runat="server" ShowStartingNode="false" />


    If I change the starting node, all I get is:
    [Site Map]
      Additional Info
        Page 3
    (etc)

    Thanks for the help.
  4. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    21 Mar 2008
    Link to this post
    Hello Allen,

    Please open a new support ticket and attach both your project and database. Also, we need the exact steps for reproducing the problem and the name of the User Control with the SiteMapDataSource in it to figure out what is wrong.

    Regarding your question about the SiteMapDataSource, it should return all nodes in the SiteMap.

    Thanks for your cooperation in advance.

    Greetings,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
4 posts, 0 answered