We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9172
    • 32 Posts
    You want to manage several sites via one MODx manager

    No! smiley I need few control panels, but with same manager crew.

    You want all of the data to be in one database

    There is no difference - one database or lot of them. Main goal is one manager account for all sites.

    You want to share the manager and its users among all sites

    Yes! smiley
      Uwaga! Wlaczamy faze!
      • 7455
      • 2,204 Posts
      so you need somthing that set the same user pemissions for manager users in several modx instalation.
      Sync the users so that they can login to one manager and also be logged in in the others?

      or 1 manager to manage multiple sites if thats the case you could use the subsites hack mabe

      Greets Dimmy
        follow me on twitter: @dimmy01
        • 33372
        • 1,611 Posts
        Hmm... Well, in that case I bet there’s a mySQL-only solution. Maybe someone who is more familiar with mySQL than I am can chime in here...

        There ought to be (and therefore probably is) a way to make an alias or a reference to a table in mySQL, such that querying it actually queries another table. So you could do each install separately but then convert all but one of the manager user tables to aliases. Then each install would be independent, but they all would be accessing the same manager users table.

        Is that a crazy idea, or can someone back me up on this possibility?
          "Things are not what they appear to be; nor are they otherwise." - Buddha

          "Well, gee, Buddha - that wasn't very helpful..." - ZAP

          Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Why not just make a plugin that will load up the other manager user tables when one gets a manager user saved?
            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
            • 33372
            • 1,611 Posts
            Now that’s a sensible and straightforward way of doing it. Just sync up the other tables whenever a change is made to one of them. Leave it to Susan to come up with a practical solution when the rest of us are reinventing the atomic wheelbarrow...
              "Things are not what they appear to be; nor are they otherwise." - Buddha

              "Well, gee, Buddha - that wasn't very helpful..." - ZAP

              Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Just laziness grin
                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