We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32678
    • 290 Posts
    I'd like to use Wayfinder to create a monster menu, not unlike the menu system for ModX.com, whereby sub-directories within a parent directory are listed. However, cases exist where I don't want a sub-directory to be navigable while it's children are, but also where the non-navigable sub-directory exists as heading within the dropdown menu.

    To Illustrate, consider the following hierarchy:

    Images
    > Collections
    >> Mountains
    >> More Mountains
    >> Even More Mountains

    In the scenario I'm describing, I'd like "Collections" to be a heading within the menu, but only as a heading and not as a link, while its children (Mountains, More Mountains, etc.), are navigable.

    Perhaps this is achievable through a custom template within Wayfinder, which to date I've used only to create more straightforward menu systems.

    Thanks in advance for any brainstorming. Oh -- I'm developing on Evo 1.10 and my current site runs on Evo 1.04.

    Wesley
    • Check the &categoryFoldersTpl property.
      &categoryFoldersTpl default: NULL
      values: name of template chunk
      description: The categoryFoldersTpl is used when the item is a folder, and either has the template set to blank or has rel="category" in the link attributes field. The children of the item must be displayed for this template to be used as well.
      available placeholders: Same as RowTpl.
        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
        • 32678
        • 290 Posts
        Wayfinder is amazing, as is the modx community. Thanks.