Hello. I'm hoping some kind soul will take pity and help this noob out !
I am re-doing my website, using Wayfinder for the menu system. This is the temporary site:
http://inessencecounselling.com/index.php?id=4
It works perfectly for the page mentioned above, and it's child (or sub menu) pages.
The problem is that when I click on a different parent link e.g. the "Menu 3", the sub-menus disappear for the "Menu 2" link. e.g. hover your mouse over the "Menu 2" and nothing appears.
It is my understanding, from reading all 148 pages of the "wayfinder book.pdf" bible, twice, that sub menus should display, unless I use the &hideSubMenus=`TRUE` parameter.
My Wayfinder call:
[[Wayfinder? &startId=`0` &outerTpl=`menuContainer` &outerClass=`primary-menu primary menu-no-mobile clearfix` &rowTpl=`menuRows` &rowClass=`menu-item` &innerTpl=`innerContainer` &innerClass=`sub-menu` &innerRowTpl=`submenuRows` &titleOfLinks=`longtitle` &textOfLinks=`menutitle` &level=`3` &hideSubMenus=`FALSE` &hereClass=`current_page_item` &lastClass=`` &innerHereTpl=`innermenuheretpl`]]
Looking at the source code for the "Menu 3" page (
http://inessencecounselling.com/index.php?id=3), it is clear that Wayfinder is not outputting the sub menus at all (e.g. ignoring the &innerTpl/&innerClass/&innerHereTpl templates entirely).
Am I completely wrong in assuming that Wayfinder SHOULD be outputting the sub menus?
For reference here are all the Chunks I used:
{{menuContainer}}
<ul[+wf.classes+]>[+wf.wrapper+]</ul>
{{menuRows}}
<li [+wf.id+] [+wf.classes+] >
<a href="[+wf.link+]" title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>
[+wf.wrapper+]</li>
{{innerContainer}}
<ul [+wf.classes+]>[+wf.wrapper+]</ul>
{{submenuRows}}
<li [+wf.id+] [+wf.classes+] >
<a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a>
[+wf.wrapper+]</li>
{{innermenuheretpl}}
<li class="menu-item">
<a href="[+wf.link+]" title="[+wf.title+]">[+wf.linktext+]</a>
[+wf.wrapper+]</li>
Can somebody please help me debug this issue?
Thanks a million!
Alexander
[ed. note: alamm99 last edited this post 14 years ago.]