Hi,
I´m making a website and use two instances of Wayfinder. My document tree looks like this:
- Introduction
- Information
- [list]
[li]Features
- Specifikations
- Prices
- FAQ
[/li]
[li]Contact[/li]
[li]Buy now[/li]
[/list]
In my "mainmenu" Introduction, Information, Contact and Buy now is shown.
The page Information, Features, Specifikations, Prices and FAQ all use the same template containing another WF-call that shows: Features, Specifikations, Prices and FAQ.
Basically what I want to do is to in that menu also show the parent(Information) as a <li>-item that obviously also could have class="active". Also I´d like the text of that item to be Overview. So the menu would look like this:
<ul class="menu-list2">
<li class="active">
<a title="Overview" href="http://www.domain.com/en/information">OVERVIEW »</a>
</li>
<li>
<a title="Features" href="http://www.domain.com/en/information/features">FEATURES »</a>
</li>
<li>
<a title="Specifications" href="http://www.domain.com/en/information/specifications">SPECIFICATIONS »</a>
</li>
<li>
<a title="Prices" href="http://www.domain.com/en/information/prices">PRICES »</a>
</li>
<li class="last">
<a title="FAQ" href="http://www.domain.com/en/information/faq">FAQ »</a>
</li>
</ul>
Also as you can see I use YAMS which has a slightly effect on WF.
My current WF-call looks like this:
[[Wayfinder? &startId=`3` &displayStart=`true` &outerTpl=`menuContainer` &outerClass=`menu-list2` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/doc/row.tpl` &level=`2` &startItemTpl=`wfStartItem`]]
And startItemTpl (wfStartItem) looks likte this:
<li><a href="[+wf.link+]">[+wf.linktext+]</a></li>[+wf.wrapper+]
Any help is appreciated!