We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27882
    • 1 Posts
    Hi all! Please, help.

    I have 2 usergroups, I want to show specified menu list to the specified group? How can I do this?

    Thank’s.
    • Use the MemberCheck snippet that’s new with 0.9.1.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • If you have certain usergroups, and your documents are in the corresponding docgroups, the users of usergroup one will only see the menu of the documents in docgroup 1.

        So you would have user groups one and two, and docgroups one and two. Connect docgroup one to usergroup one, and docgroup two to usergroup two.

        Now set all documents that you want usergroup one users to see to be in docgroup one, and all documents that you want usergroup two to see in docgroup two. Any documents you want both to see can be put in both docgroups.
          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
        • FYI Soccerfan, if you do use the Membercheck snippet, you need to also set the usergroups for the "private" pages you want protected so people don’t enter that location directly.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me