Hello,
I am wanting to run wayfinder with a template variable as the link text for a tab menu.
With my current wayfinder call, the template variable text is inserted - but each page shares the same text in the tab menu.
eg. Say the site structure is as follows:
+ home
+ about us
+ contact us
+ links
the tab menu on the home page currently is :
+ home
+ home
+ home
and the tab menu link on the about us page currently is:
+ about us
+ about us
+ about us
How do I get it to display like so?
+ home
+ about us
+ contact us
+ links
My Current Wayfinder call
[[Wayfinder? &startId=`0` &level=`0` &outerTpl=`tabmenu-outerwrapper` &rowTpl=`tabmenu-row` &textOfLinks=`[*tabmenu-text*]` &includeDocs=`1,2,3,4,5,6,7,8`]]
row template
<li[+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]">[*tabmenu-text*]</a></li>
outer wrapper
<div class="holder">
<ul>
[+wf.wrapper+]
</ul>
</div>
the template variable is called: [*tabmenu-text*]
an example variable for a page is: about
us
Know where I am going wrong?
Thanks in advance.