We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10076
    • 1,024 Posts
    I m running two websites where they both can use the same Db, just one is about piano quartets the other about quintets, while most of the menu will be the same. Both the sites have a few pages not in common or unique. Probably best would be to migrate to Revo but thers no money for such a conversion. Any ideas how to use two seperate managers for one single Db and a few unique menu items and pages per separate website?
      • 33014 ☆ A M B ☆
      • 1,231 Posts
      Resource can set content-type of the json type by next 1.0.10. You may do it if you use it.
        • 10076
        • 1,024 Posts
        ehhhh,what?
          • 10076
          • 1,024 Posts
          Okay, need another approach here, installed latest EVO, I would like to know if it is possible to use a couple of database tables from the twin site that is running. For example, the manager user and web user one, and two tables that contain the details of the composers.
          How can that be done?
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Will those two tables be in a separate database, or will they be in the MODx database? With WebLoginPE, you can specify custom tables. I don't think you can have more than one, though. You would need to merge the two tables in some way to use that feature of WebLoginPE. Or, perhaps use two different WebLoginPE snippet calls, one for each custom table.

            For total control, WebLoginPE creates a table in your MODx database to store as many user attributes as you want. The default name for this table is 'web_user_attributes_extended', but you can override that with the customTable parameter. You can specify an unlimited amount of column names for this table using the customFields parameter.
            [!WebLoginPE? &customTable=`my_web_users` &customFields=`website,aim,msn,city,address1`!]
              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
              • 10076
              • 1,024 Posts
              The two tables will be in another database where modx drives another website, the twin website. Its just that these tables contain data that both websites use. So it s just that I would like the option to use the current snippets we are running to populate those tables, and only need to do that once for both the sites.
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Then you'll need some custom snippets and maybe even plugins. But it can be done.
                  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