New Community Forums are coming. Watch this space for news.
Subscribe: RSS
  • zackgemmell Reply #1, 9 years ago
    I am very new to using Content Management Systems and I have been looking for a CMS that would allow Users to login and see specific content created for them. I am starting a company that creates deposition videos for lawyers and I need a site that is secure and allows the lawyers to login and watch their videos. Each user will have access to only their specific content. Can this be done using Modx and if so would it be best to hire someone rather than try and learn? Thank you
    • Here’s the simplest way:

      1. Go to the Security menu, then Web Permissions. Create web groups and document groups for each person, and connect them (there are three tabs here for doing this).

      2. Create a resource (document) for each person, and assign the documents to the relevant document groups.

      3. Create the web users and assign them to their groups. You can also set their login home page to be their page (using the resource ID of their page).


      Of course, you could also use just one page and have a snippet with custom PHP to load the material for the given user, based on the values in his SESSION. But that’s another matter altogether. Unless you plan to have hundreds of viewers, the basic MODx security model should work fine for you.



        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
      • Hello,
        I'm looking to do the same, wondering if you can help me please.

        Modx Revo 2.2.0

        Setup the basic login plugin etc works fine.

        Just need to add new users now with different content for each. So basically how do I set their login home page to be different?

        On the login page I've specified loginResourceID so it's always going to the same page. It needs to go to different pages for different users.

        Hope this makes sense,
        Any help would be greatly appriecated.

        Thanks
        Jordan
          Zooba Ltd - Web Design & Development, Wales UK
        • Quote from: zoobaweb at Jan 23, 2013, 07:32 AM
          Hello,
          I'm looking to do the same, wondering if you can help me please.

          Modx Revo 2.2.0

          Setup the basic login plugin etc works fine.

          Just need to add new users now with different content for each. So basically how do I set their login home page to be different?

          On the login page I've specified loginResourceID so it's always going to the same page. It needs to go to different pages for different users.

          Hope this makes sense,
          Any help would be greatly appriecated.

          Thanks
          Jordan

          Hey Jordan!

          I'm looking forward to do the same as you so i wanted to know if you reached how to solve that!!

          thanks
          Edu,
          • Do you need it to go to individually different pages for each user after logging in, or do you simply want to display different information to logged in users on a certain page? You could have different chunks display to logged in users if you only need to show users certain things on public pages.

            You could use extended fields with the user profile to give each user a specific page to land on with personal/specific information.

            If you need general special pages for logged in members, you'll want to leverage Resource Groups. A sit down with MODX permissions/security would be a good start. Develop your specific user and resource groups and once your users are logged in, only show those resources that are attached to the resource group they belong to. The resources you place in specific resource groups that have access permissions set to specific user groups will only show those pages to users in the specific resource group.

            Generally when you redirect after login, you can then show the users the pages they have access to when they're logged in with resource groups.

            Permissions can be tricky, so it might help to review the security/permissions information in the documentation http://rtfm.modx.com/display/revolution20/Security as well as at Bob's Guides http://bobsguides.com.

            More resources:
            http://modxpo.eu/2012/schedule/sessions/modx-revolution-security-permissions-system
            http://lithiumlab.com/modx/revo_permissions.html
            http://jgulledge.wordpress.com/2010/07/31/learning-modx-tutorial-2-permissions/
            https://vimeo.com/13785684




              Frogabog- MODX Websites in Portland Oregon
              "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
              Having server issues? These guys have MODX Hosting perfected - SkyToaster