Archive for tag: Breadcrumb

Sharepoint Breadcrumb: Display's current site title

30 August, 2008 (11:44) | MOSS - Customization with SPD | By: GVK

To display only the current site title in Sharepoint breadcrumb add the property ParentLevelsDisplayed=”0″ in the <asp:SiteMapPath… tag
The below Asp:SiteMapPath tag display only the current site title
Example:
<asp:SiteMapPath ID=”siteMapPath_section” Runat=”server” SiteMapProvider=”CurrentNavSiteMapProviderNoEncode” RenderCurrentNodeAsLink=”false” SkipLinkText=”” CurrentNodeStyle-CssClass=”breadcrumbCurrent” NodeStyle-CssClass=”ms-sitemapdirectional” ParentLevelsDisplayed=”0″>
<CurrentNodeStyle CssClass=”breadcrumbCurrent” />
<NodeStyle CssClass=”ms-sitemapdirectional” />
</asp:SiteMapPath>
The below Asp:SiteMapPath tag display only the current site title parent and current site title (parent > [...]