Ukloni stranice iz povratna

Danas, Bio sam radiš neke marke za objavljivanje stranice, koji je premješten iz PHP / HTML pomoću prilagođenog koda.

Kad sam omogućen povratna na stranicama (očito smo se vlastite prilagođene izgleda stranica), the “stranice” i “.aspx” u naziv datoteke je vrsta neugodno. U početku sam mislio maknuti ovu dodavanjem JavaScript / jQuery na stranici.

Ali ja bi mislio da, to ne bi trebao biti najbolji način da to učinite.

Onda sam otkrio da mijenja SiteMapProvider imovine za prezla u Master Page iz “SPContentMapProvider” na “CurrentNavSiteMapProviderNoEncode”, nije magija.

Sada Moj Sitemap izgleda kao ispod:

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?

    Hvala,
    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 > Početna stranica

    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.

    Hvala,
    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?

Dopust jedan Odgovor

Možete koristiti te tags HTML

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