We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28341
    • 43 Posts
    I’ve tried using Wayfinder as much as I can but I can’t come up with a good solution for representing certain links in a menu. I have 11 menu items in total, and at three places on the site that I’m developing I need to output these in different manners. Could someone pinpoint what I should be looking for? Or is this only possible by using a custom made snippet/plug-in?

    [[Wayfinder? &startId=0 &level=1 &excludeDocs=49,61,55]]
    is an example of a solution I’ve come up with but with displeasing results. I can’t change a particular link text here, nor arrange the order they appear.

    -S
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      What does your site structure look like? Perhaps there can be some improvements towards your structure.

      Wayfinder does accept some parameter to choose which field to use for the link text, you could use that to change the link text.

      &textOfLinks

      Default: menutitle
      what database field do you want the actual link text to be? Use the following values: menutitle, id, pagetitle, description, parent, alias, longtitle, introtext

        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 28341
        • 43 Posts
        My structure is quite simple. When I created the menu I only knew of Wayfinder and tried to make each group as close to each other as possible (for example I wanted to print out Assurances, Press, Jobs and Support at one place on the site).

        Home
        Products
        > Children
        About
        Contact
        Assurances
        > Children
        Press
        > Children
        Jobs
        > Children
        Support
        How to order
        Cases
        > Children
        News
        > Children

        I’ll try out &textOfLinks.