We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33655
    • 4 Posts
    Hello,

    I apologize if this has already been covered somewhere, but I couldn’t find an answer by searching the board. I’m using Wayfinder and UltimateParent to generate sub-menus. It is working great. But, now I need for the UltimateParent header on the menu to be "clickable". In other words, in the example below, "Personal Storage" within the h2 tag would have an anchor around it and link to that page. I think I need to use something like an outerTpl chunk, but I’m a bit confused about how the template chunks work and where I find them to make changes.

    [[!Wayfinder? &startId=`[[UltimateParent]]` &displayStart=`true` &ignoreHidden=`true` &fullLink=`true`]]


    generates...

    <h2 class="first last active">
    	Personal Storage
    </h2>
    <ul>
    	<li class="first"><a href="#" title="Size Guide">Size Guide</a></li>
    	<li><a href="#" title="Unit Pricing">Unit Pricing</a></li>
    	<li><a href="#" title="Rent a Unit">Rent a Unit</a></li>
    	<li class="last"><a href="#" title="Specials">Specials</a></li>
    </ul>



    Thanks.
      • 33655
      • 4 Posts
      I figured it out. I needed to create a startItemTpl...

      <h2[[+wf.classes]]<a href="[[+wf.link]]">[[+wf.linktext]]</a></h2>[[+wf.wrapper]]