Eemalda leheküljed Veebiotsingu ajalugu

Täna, Ma tegin mõned branding Publishing sait, mis on rännanud alates PHP / HTML kasutades kohandatud koodi.

Kui ma võimaldas lingirea lehekülgedel (ilmselt me kasutada oma kohandatud lehe paigutusega), the “lehed” ja “.aspx” aastal failinimi on selline tüütu. Esialgu ma arvasin, et kõrvaldada selle lisades javascript / jQuery leheküljel.

Aga ma saan mõelda, et, see ei tohiks olla parim viis seda teha.

Siis ma leidsin, et muutuvas SiteMapProvider vara riivsaiaga kapten lehele “SPContentMapProvider” kuni “CurrentNavSiteMapProviderNoEncode”, tegin magic.

Nüüd on mu Sitemap näeb allpool:

5 comments to Remove Pages from Breadcrumb

  • Rahul Babar

    Hi Udayakumar,

    I am doing the same thing on my sharepoint publishing portal but it still does not work for me. Am I missing something?

    Tänu,
    Rahul Babar

  • What change do you see in breadcrumb after update?

  • Rahul Babar

    Thanks for the quick response.

    Actually I was missing to change sitemappath control in layout pages. I was doing it only in master page.

    Using “SPContentMapProvider”, I get the breadcrumb as

    My Portal > Finance and Corporate Services > Information Technology > Pages > Home.aspx

    After changing it to “CurrentNavSiteMapProviderNoEncode”, breadcrumb becomes

    My Portal > Finance and Corporate Services > Information Technology

    But the requirement is to have breadcrumb like the following.

    My Portal > Finance and Corporate Services > Information Technology > Avaleht

    The same kind of breadcrumb comes in pages like AllItems.aspx of list/library.

    Can we achieve this by some workaround? I appreciate your suggestions.

    Tänu,
    Rahul Babar

  • Martin

    Thanks a lot! You made my day 🙂

  • I adore your wordpress theme, exactly where do you get a hold of it from?

Jäta vastus

Võite kasutada neid HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>