10
Jan
10

Fixing SharePoint Breadcrumbs to Remove the Pages Node and Display the Page Title Instead of the ASPX Page Name

If you are customizing a master page and you find that the breadcrumb is being displayed with the Pages node and the name of the ASPX page like this

image

and you’d like the breadcrumb to be displayed in the standard publishing fashion without the Pages library node and with the page title instead

image

change the SiteMapProvider from SPContentMapProvider to CurrentNavSiteMapProviderNoEncode on the asp:SiteMapPath tag.

 

<asp:SiteMapPath SiteMapProvider="CurrentNavSiteMapProviderNoEncode" id="ContentMap" SkipLinkText="" runat="server" PathSeparator=" :: "/>

Advertisements

5 Responses to “Fixing SharePoint Breadcrumbs to Remove the Pages Node and Display the Page Title Instead of the ASPX Page Name”


  1. 1 Saurabh
    May 28, 2010 at 3:57 am

    Hi I have tried the same code but it doesnot displays the page title and not even the name of page

    😦

    Thanks

  2. 2 Ian Hawkins
    December 31, 2010 at 2:30 am

    This only seems to work if under: Site Settings, Navigation, Current Navigation, you have Show Subsites and/or Show Pages ticked. We don’t what these ticked as we have loads of pages in the site that we don’t want displayed on Quick Launch and we don’t want to have to go through them all in Navigation Editing and Sorting marking them as Hidden.

    Is there a way round this?

  3. 3 Rebecca W.
    September 19, 2011 at 7:22 am

    How can I do this without code? I am a new administrator and I don’t know where or how to put this code in. If someone could tell me, I’d be happy to do it. I get the Pages node and my company does not want that there. A little help please?

    ~Rebecca

  4. 4 Rebecca W.
    September 19, 2011 at 7:24 am

    Oh, and I have SharePoint Standard edition, not Designer or Enterprise…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Asif Rehmani’s SharePoint Videos

SharePoint-Videos

Click to access a wealth of SharePoint videos

SharePoint Rx

SharePoint Rx Home

Categories

Posts by Date

January 2010
M T W T F S S
« Dec   Feb »
 123
45678910
11121314151617
18192021222324
25262728293031
Support Wikipedia

%d bloggers like this: