We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36786 ☆ A M B ☆
    • 209 Posts
    Ok so maybe not the best title but I would like wayfinder to include the parent (&startId) in the unordered list produced. But with the &displayStart I only get it outside of the list in <h2> tags. I'm not sure how to get that to work

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

      Ben Morrison
      Hacking templates to pieces since 2003
    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You need to juggle the structure in the various tpls. The outerTpl should not have the opening ul tag, this would be in the startItemTpl. The startItemTpl would start the ul, have an li with the link, the outerTpl would have the wf.wrapper and the closing ul. The other tpls can be the same as usual.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 36786 ☆ A M B ☆
        • 209 Posts
        AHHHH ok! Thanks smiley
          Ben Morrison
          Hacking templates to pieces since 2003