We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50362
    • 5 Posts
    Hi,
    I am working on a Wayfinder menu with the following items:
    Home
    About*
    Advisors*
    Community Impact*
    Donors*
    Nonprofits*
    News**

    *indicates parent element (not clickable) with sub-menu that slideToggles when parent is clicked
    **indicates parent element (clickable) with sub-menu that should not be visible

    I am using categoryFoldersTpl for the items with an * and their link attributes have rel="category". This works great, however, Home and News are a bit different. I understand that categoryFoldersTpl takes precedent over all other tpl's, but there has to be a way to give Home and News the rowTpl.

    Any help is much appreciated.
    • CategoryFoldersTpl is triggered by having the parent resource not using a template, or having rel="cagetory" in its Link Attributes field. Any resource that doesn't have that will use the outerRowTpl.

      Well, maybe it uses rowTpl, while inner rows will use innerRowTpl.
        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
        • 50362
        • 5 Posts
        Ah, okay. That makes sense.

        Thank you!