Developer forum

Forum » Templates » Implement breadcrumbs in new layout engine

Implement breadcrumbs in new layout engine


Reply
How do I implement a breadcrumb path in a layout for the new engine?

Replies

 
Reply

According to the documentation it should be like this.

<ul class="dwnavigation" id="mainnav" settings="startlevel:1;endlevel:1;template:liclean.xslt;expandmode:Path;">
 <li>
  <a href="http://#/">Menu 1</a>
 </li>
 <li>
  <a href="http://#/">Menu 2</a>
 </li>
 <li>
  <a href="http://#/">Menu 3</a>
 </li>
 <li>
  <a href="http://#/">Menu 4</a>
 </li>
</ul>
 

It's the expandmode parameter that sets the type on navigation.
Expandmode can have the following values: None|All|Path.

 
Reply
I got it working by setting endlevel to 99, and expandmode to Pathonly :)

Thanks :)

 

You must be logged in to post in the forum