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

    With the following chunks and wayfinder call, I get the multilevel lists I expect, although there is one problem. The parent class is not being applied to rows which have children no matter what I try and I’m not sure what I’m doing wrong, any help would be greatly appreciated. smiley

    Call:

    [[!Wayfinder? &startId=`2`&outerTpl=wfMenuOuter&rowTpl=wfMenuRow]]


    wfMenuRow:

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


    wfMenuOuter:

    <div>
    <ul>
    [[+wf.wrapper]]
    </ul>
    </div>
    
      • 26016
      • 561 Posts
      Hi,
      First, I would try this syntax instead.

      &outerTpl=`wfMenuOuter` &rowTpl=`wfMenuRow`


        MODx and Wordpress development
        Linux, PHP 5.2, MySQL 5.0, Evo 1.05, Revo 2.08-pl, Firefox 4