Wayfinder and displayStart
Sometimes you'll want to have a menu include the "parent" as a link. Using the &displayStart parameter with some careful modifications to the startItemTpl and outerTpl mini-templates it's not hard to do.
The Wayfinder Call
[[Wayfinder? &startId=`165` &displayStart=`1` &startItemTpl=`siStartItemTpl` &outerTpl=`siOuterTpl` &selfClass=`self`]]
The startItemTpl
<ul> <li id="startItem" [+wf.classes+]><a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a></li> [+wf.wrapper+]
The outerTpl
[+wf.wrapper+] </ul>
Styling
Because the startItem is the parent of the rest of the items, it will always have the active class applied to it. This will need to be overridden in the CSS by adding the self class, giving the startItem an id in the startItemTpl, and manipulating them.
li.active a{color:red;}
#startItem a{color:blue}
#startItem.self a{color:red;}
