We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8439
    • 89 Posts
    Have tried RTFMing but came to no sensible conclusion.

    I want to achieve a 3x4 matrix of navigation links in my page header. One hardwired way of achieving this would be to have, say, 3 divs side by side, each containing a 4 element ul with a link in each ul.

    Of course I want the current section highlighted.

    Can I achieve this in Wayfinder either by expressing a row/column count or by having 3 calls to wayfinder?

    EDIT I am guessing I can have multiple calls to wayfinder and that by using careful settings of &startId and &limit I could get the effect I want.

    If multiple calls to wayfinder doesn’t work, or even if it does, is there an automatic way to achieve this effect. Obviously I could hand code it but that makes maintenance a pain.

    Ed
      • 3749
      • 24,544 Posts
      I’ve never done that on purpose, but IIRC, I did see just what you want by accident when I set a fixed width too narrow for the Wayfinder menu items. They were automatically wrapped into a nice-looking rectangle so you might try that.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 3707
        • 241 Posts
        I’ve used multiple Wayfinder calls on a page before and it works just fine, including the current page/section highlighting.

        You don’t need to put the UL’s in their own div’s though. The UL element is itself a container and can be styled in the same way as a div. The extra div is unnecessary.