We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47562
    • 113 Posts
    Specifying &parentRowTpl for Wayfinder appears to only apply to container resources that have docs in them. I can see the reasoning: is a container with no child resources a parent? Still, I'd like to have this particular tpl apply to all containers.

    Is there an easy way to have parentRowTpl apply to all containers, even those that are empty? Or do I need to be using a level class to make such distinctions?

    This question has been answered by sottwell. See the first response.

    • discuss.answer
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Perhaps categoryFolderTpl would be more appropriate, and put rel="category" in the container resources' attributes fields.
        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
        • 47562
        • 113 Posts
        Ah, that's exactly what I need. Thanks very much! (Oh, and I forgot to mention, one small correction: the parameter is "categoryFoldersTpl", plural folders). [ed. note: pauhana last edited this post 12 years, 4 months ago.]