We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12584
    • 208 Posts
    Is there an easy way to make wayfinder output <ul id="navlist"> for the unordered list, if this can be done thats great or I will have to change the menu to just the standard <ul>, the 1st option for me would be the easiest as I could then carry on using the existing code, this is for a site I am trying to move to MODx

    Cheers

    Ian
      • 14412
      • 74 Posts
      create a chunk, call it wfOuter, and put this on its content:
      <ul id="navlist>[+wf.wrapper+]</ul>

      now call Wayfinder wherever you want it, li this:

      [!Wayfinder?outerTpl=`wfOuter`!]

      That’s it!
        Got Music? Try XSPFjukebox - Skinnable MODx Media Player
        • 12584
        • 208 Posts
        oh right I think i am actually starting to get it laugh
        Things are easy when you know how, the only change I had to make to the example was add in the &

        so now [!Wayfinder?&outerTpl=`wfOuter`!]

        but thankyou so much for you reply, have one last little proplem left then I can get the whole site up and running with MODx. no doubt another post to come soon on that.

        Cheers

        Ian