We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 577
    • 132 Posts
    I am using ClassExtender to extend modUser with the ext_user_data table, work great. My question is does this component support the extension across more than one table. Looking through the Class it does not appear to be but I thought it couldn't hurt to ask.

    ex:
    ext_user_data (current)
    ext_user_referrals (new, many-to-one with modUser)
      "One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow smiley"
      • 3749
      • 24,544 Posts
      It doesn't out of the box, but I think it might if you manually edited the schema in \core\components\classextender\model\schema\extendeduser.mysql.schema.xml.
        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
        • 577
        • 132 Posts
        I had that similar thought but wasn't sure the effects of running [[ClassExtender]] with table_name `user_data` against a schema that has more then just that one table in it. I will spin up a site and give it a test and see what happens.
          "One of these days I will get around to my own website... Its only been about 12 years... maybe tomorrow smiley"