We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41647
    • 49 Posts
    Hi there!
    I'm having a very stupid problem with Wayfinder which drives me crazy.
    So I'm trying to build a Bootstrap3 menu with dropdowns.
    I can build it and it uses the parentRowTpl correctly, shows the caret on the right items.
    But the [[wf.wrapper]] stays empty!
    If I use the rowTpl, I can place a wf.wrapper and the items are filled in.

    So here is my call:
    [[Wayfinder?
    &startId=`0`
    &level=`2`
    &outerClass=`nav navbar-nav`
    &rowTpl=`mainNavItem`
    &parentRowTpl=`mainNavItemParent`]]
    


    And my parentRowTpl:
    <li class="dropdown">
    	<a href="[[+wf.link]]" class="[[+wf.classnames]] dropdown-toggle" data-toggle="dropdown" title="[[+wf.title]]">[[+wf.linktext]] <b class="caret"></b></a>
        <ul class="dropdown-menu">
          	[[+wf.wrapper]]
        </ul>
    </li>
    


    And my regular rowTpl:
    <li class="[[+wf.classnames]]"><a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a></li>
    


    Thanks!
    janein


    P.S: I'm using Wayfinder 2.3.3

    This question has been answered by janein. See the first response.

    • discuss.answer
      • 41647
      • 49 Posts