Using PortalSiteMapProvider to show only sub-sites  
Author Message
Andy Burns





PostPosted: SharePoint - Design and Customization, Using PortalSiteMapProvider to show only sub-sites Top

I've been asked to write a master page where one of the navigation elements will be a list of the sub sites to a site. Elsewhere on the page I've got another element which should be navigation for within the site as you would normally have, except without the sub-sites.

Can this be done with the PortalSiteMapProvider, or am I into the realms of writing my own



SharePoint Products and Technologies3  
 
 
Pome Alan





PostPosted: SharePoint - Design and Customization, Using PortalSiteMapProvider to show only sub-sites Top

This blog entry explains how to customize the tree view to show only sub-sites. If you want 2 tree views simply copy the code to another location and change id's to so that your tree has a unique id and refers to a unique sitemapprovider.

http://spstips.blogspot.com/2006/07/modifying-wss3-tree-navigation-control.html



 
 
Andy Burns





PostPosted: SharePoint - Design and Customization, Using PortalSiteMapProvider to show only sub-sites Top

Hmm. I'd only wanted direct children... ...but that's close enough, they might even prefer that! Thanks!