Developer forum

Forum » Templates » eCom XML navigation 'InPath' parameter

eCom XML navigation 'InPath' parameter


Reply

It seems that this XML parameter (InPath) is missing when working with eCom navigation. That makes hard to make a straight-forward fold-out navigation that opens and closes the productgroups the same way as using standard page navigation XSLT/XML menu.

 

Is there any smart way to achieve this - preferrable not using javascript ?


Replies

 
Reply

Hi Jonas

 

I' not sure, but can't you test for child elements and if the parent item attribute @Active is true ?

 

<xsl:if test="Group AND @Active='True'"> ...

 

// Sebastian

 
Reply
Dammark wrote:

Hi Jonas

 

I' not sure, but can't you test for child elements and if the parent item attribute @Active is true ?

 

<xsl:if test="Group AND @Active='True'"> ...

 

// Sebastian


 

Yes I can, but parent element is not True anymore when a child-element is selected.

 
Reply

Damn it ...

 

Then I guess there is no other solution than JS.

 

// Sebastian

 

You must be logged in to post in the forum