Developer forum

Forum » CMS - Standard features » Get "Show in Breadcrumb" in XSLT

Get "Show in Breadcrumb" in XSLT

Lars Pham
Reply

Yo!

I have a sitemap like so: 

  • Page A
    • [Folder]  - This one I'm trying to hide from the breadcrumbs
      • Subpage A
      • Subpage B
  • Page B
  • Page C

Is it possible to get the "Show in Breadcrumb" value from the page property from the navigation XSLT template? 
If so, how? 

 

Skærmbillede_2019-04-12_kl._14.32.32.png

Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Lars

It is called ShowInLegend - and is part of the XML. Also make use of the SitemapMode:true|false to toggle which nodes are part of the xml output. See https://doc.dynamicweb.com/template-tags/introduction/concept/navigation#3442

You can use &savexml=true in urls to get a copy of the navigation xml saved in the filemanager next to the xslt file.

BR Nicolai

Votes for this answer: 1
 
Lars Pham
Reply

Perfect - thanks! 

 

You must be logged in to post in the forum