We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17412
    • 270 Posts
    Hi, I have a top level item with a few child items that belong to a resource group and require login.
    I'd like to display the top level item with Wayfinder though cannot figure how.
    I read in RTFM "Since version 2.3.2 placeholder [[+protected]] is added that is 1 if Resource is protected by a Resource Group."
    Not quite sure how to work with this though?

    Cheers.
    • the pdoTools snippet pdoMenu has a property &checkPermissions. It's mostly a drop-in replacement for Wayfinder otherwise. http://docs.modx.pro/en/components/pdotools/snippets/pdomenu

      The (anonymous) group, or any other unauthorized group, should always have "load" permissions for all resource groups, otherwise it will get the Error page instead of the Unauthorized page. So if you have &checkPermissions=`load` then it will add the protected resources to the output. [ed. note: sottwell last edited this post 9 years, 2 months ago.]
        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
        • 17412
        • 270 Posts
        Thank you Susan!