We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10909
    • 32 Posts
    Hi everyone - hopeing someone can assist me with my query!

    Ive been having a play with access groups, context and users, however Im wanting to do something a little different.

    What I would like to do is have a specific section of say a snippet, change, based upon the user thats browsing it.

    Say for example I make a menu, and i want the contents of that menu to be different for a specific user group.

    I first thought I could do this with the element section, however I cant create a chunk thats named the same as another, even if its in a different catagory, so that would mean making two templates which I really dont want to do.

    Is there some way to do this?
      • 3749
      • 24,544 Posts
      You can put resources in resource groups and hide them from members of specific user groups. Wayfinder, Ditto, and getResources will respect that and not show any protected resources.

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting