Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

Raúl Ribeiro

Windows SharePoint Services 3.0 , .net, Microsoft Office SharePoint 2007, Office 2007 and 2010

News

MOSS BreadCrum in Intranet vs Publishing Sites

When implementing a masterpage or page layout that needs to have breadcrumb, there are two providers for that, one that shows the entire path with list and folders and subfolders and other that only shows sites sub sites and page.

So the first one is to be used on Intranet's the second can be used on both, but is more useful for Publishing Sites.

The providers are SPContentMapProvider for Intranet's and CurrentNavSiteMapProviderNoEncode for Publishing Sites.

<asp:SiteMapPath SiteMapProvider="SPContentMapProvider" id="ContentMap" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" PathSeparator="»" runat="server"/>

<asp:SiteMapPath SiteMapProvider="CurrentNavSiteMapProviderNoEncode" id="ContentMap" SkipLinkText="" NodeStyle-CssClass="ms-sitemapdirectional" PathSeparator="»" runat="server"/>

Posted: Thursday, June 26, 2008 7:03 AM by admin
Filed under:

Comments

No Comments

Anonymous comments are disabled