[[+wf.level:is=`1`:then=`<li class="nosplit" ><!-- menuParents Start -->
<a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]<span>[[+longtitle]]</span></a>
<div>
<span><span><!-- arrow --></span></span>
[[+wf.wrapper]]
</div>
</li><!-- menuParents End -->`]]
[[+menuParents:is=`dropdown`:then=`<p>dropdown</p>`]]
[[+menuParents:is=`slidedown`:then=`<p>slidedown</p>`]]
The above works... i set a variable to dropdown, i get <p>dropdown</p> i set it to slidedown, i get slidedown...
so I replace those 2 checks with more wayfinder code... ie
[[+wf.level:is=`1`:then=`<li class="nosplit" ><!-- menuParents Start -->
<a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]<span>[[+longtitle]]</span></a>
<div>
<span><span><!-- arrow --></span></span>
[[+wf.wrapper]]
</div>
</li><!-- menuParents End -->`]]
[[+menuParents:is=`dropdown`:then=`<li>[[+wf.wrapper]]</li>`]]
[[+menuParents:is=`slidedown`:then=`<li>[[+wf.wrapper]]</li>`]]
the above here doesn’t work.. it seems that things work until I try and call multiple wayfinder calls in different filters. then it just shows up blank. anyone know why?
(obviously in my real example i’d like more complex code, like different row templates based on a variable call) maybe there is another way to choose select row templates based on a user variable that I am able to do another way? any ideas?