We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30694
    • 46 Posts
    I would like to have Wayfinder output a menu for my nav which consists of images for links. Each link uses a different background image. Is it possible to use Wayfinder for this menu? I’m supposing that I would need Wayfinder to output a unique class or ID for each link. Ideas?
    • Wayfinder will generate a unique ID for each link.
      &rowIdPrefix=`item`

      The ID # of the document will be added to the id you specify.

      http://wiki.modxcms.com/index.php/Wayfinder
        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
        • 30694
        • 46 Posts
        Oh, very cool. Thanks!

        Another thing I’m interested in learning is how does one use wayfinder with Weblinks? I set the starting ID as a weblink and wayfinder doesn’t output anything. Any idea? Thanks again!
        • That’s because the startId is the ID of a container/document and Wayfinder makes its menu out of the children of that document. Does your weblink have children (that is, it’s also a "folder" or "container" document)?

          As far as how Wayfinder actually makes links for weblink documents, it uses the actual content of the document to make its link. If the content is a number (the ID of another MODx document) it generates the correct URL for that document. If it is a URL already, then it siimply uses that.
            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
            • 30694
            • 46 Posts
            That works. Sweetage. Thank you thank you thank you!
              • 1330
              • 79 Posts
              Hate to revive an old topic but this seems like it is on the path I am looking to follow.
              I to wish to have images instead of text and have rollover images. Problem is I don't understand how to translate this into use. I have read over the manual and the explanation above, but fail to see how this connects to my menu, I have a limited knowledge of the menu system in ModX to begin with.