Developer forum

Forum » Templates » eCom group menu

eCom group menu

René Mehlsen
Reply

Hi

I'm about to make an eCom menu based on eCom groups, which only shows from level 1 to level 2.

As far as I can understand, this limitation can not be made in html when it is an eCom group menu. (settings="startlevel:1;endlevel:2;")

Does anyone have an example of an XSLT template that does this?


Replies

 
Nicolai Høeg Pedersen
Reply

The attached template will limit all pages/Groups under level 3.

 

Look for this line of code:

 

<xsl:if test="count(Page) and @InPath='True' and @AbsoluteLevel&lt;3">

 

 
René Mehlsen
Reply

Super - thanks

 

You must be logged in to post in the forum