We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37042
    • 384 Posts
    Im developing a site with three different contexts. Each context represents a different domain but the 3 websites are of the same business. My questions are:


    1. If I have a Register snippet (Login) accepting signups to a UserGroup will all new members regardless of Context be found under Security>Manage Users and be filterable by UserGroup drop down?

    2. Is there a way to output members of a UserGroup (and their details) on a resource and allow a client to export these details to CSV?

    Thanks
      ...
      • 42562
      • 1,145 Posts
      #1 - YES, all users will be contained and are manageable in the one MODx manager no matter what context....


      #2 - Install the Extra, Peoples
      Make this call
      [[Peoples? &limit=`600` &tpl=`MembersListTpl` &sortBy=`username`]]
      //MembersListTpl
      [[+username]] [[+fullname]] is from [[+extended.Family_Village]]

      -And since users and groups are not demarcated by contexts, they will all show up when called.
      -Use CSS to fix up the presentation as you want in the Tpl
      -Can also place Tpl in Table form. <table></table> etc.
      -There are plugins for exporting html to CSV, search for some in Google.....
        TinymceWrapper: Complete back/frontend content solution.
        Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
        5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.