Hi,
I use Wayfinder 1.0 as follows:
[!Wayfinder? &startId=`[[UltimateParent? &topLevel=`2`]]` &outerTpl=`wfOuter` &rowTpl=`wfRow` &innerTpl=`wfInner` &innerRowTpl=`wfInnerRow` &level=`3` &hereTpl=`wfCurrent` &activeParentRowTpl=`wfParent`!]
Everything works perfect, except I want the inner <ul> of the active tree only to have a specific class in the <ul> tag
My WfInner chunk =
<ul>
[+wf.wrapper+]
</ul>
But it seems that there is no template parameter to set the <ul> like in hereTpl. My hereTpl =
<li id="cursub"><a href="[+wf.link+]">[+wf.linktext+]</a>[+wf.wrapper+]</li>
is it possible to add a class only to the ective tree <ul>??
Thx!!
hmm, you were right about that [+wf.classes+] I thought ... But it doesn’t seem to set the active class to the <ul> tag? Within <li> tags it is correctly set but not in <ul>
-
☆ A M B ☆
- 24,524 Posts
You should be able to work that out in the CSS with something like