Hi,
Hope you can help, I’m using Revolution 2.0.8 and just getting to grips with wayfinder....(Wayfinder for MODx Revolution 2.0.0-beta-5 and later.)
Everything was going swimmingly

until

i tried to hide my sub menus. My page comes up without the submenus which is great but when i click on the parent link the sub menus do not display and i get taken to a blank page.
This is my wayfinder call (located in main template):
[[Wayfinder?&startId=`0`&outerTpl=`menucontainer`&outerClass=`navigation`
&rowTpl=`menurows`&level=`2`&hideSubMenus=`1`]]
These are my Tpl’s (located in chunks)
OuterTpl: <ul[[+wf.classes]]>[[+wf.wrapper]]</ul>
rowTpl: <li[[+wf.id]][[+wf.classes]]>
<a href="[[+wf.link]]"title="[[+wf.title]]"[[+wf.attributes]]>[[+wf.linktext]]</a>
[[+wf.wrapper]]
</li>
This is the code generated when hideSubMenu=1:
<ul class="navigation"><li class="first active">
<a href="
http://www.tunedinconsultancy.com/"title="Home">Home</a>
</li>
<li>
<a href="index.php?id=30"title="Blog">Blog</a>
</li>
<li>
<a href="index.php?id=31"title="Services">Services</a>
</li>
<li>
<a href="index.php?id=29"title="About">About</a>
</li>
<li class="last">
<a href="index.php?id=34"title="Contact">Contact</a>
And this is the code when hideSubMenu=0:
<ul class="navigation"><li class="first active">
<a href="
http://www.tunedinconsultancy.com/"title="Home">Home</a>
</li>
<li>
<a href="index.php?id=30"title="Blog">Blog</a>
</li>
<li>
<a href="index.php?id=31"title="Services">Services</a>
<ul><li class="first">
<a href="index.php?id=32"title="Business Support">Business Support</a>
</li>
<li class="last">
<a href="index.php?id=33"title="Marketing Services">Marketing Services</a>
</li>
</ul>
</li>
<li>
<a href="index.php?id=29"title="About">About</a>
</li>
<li class="last">
<a href="index.php?id=34"title="Contact">Contact</a>
</li>
</ul>
Thinking of sacking off wayfinder and just using html/CSS (i only want a dropdown menu g’darnit) but would really like to get to grips with this snippet as i think it would be invaluable in future projects.
Hoping (kind of) that this i’ve made a stupid newby error and the solution is obvious to you guys.
Appreciate your time and help, modx rocks!
Thanks
Dan