We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19534
    • 183 Posts
    Hey!

    I’d like to perfomr some DB (xPDO) queries to set default values for the "Setup Options" form during package installation.
    I tried using $object->xpdo like it is possible in the setup resolver mentioned in the docs. But $object seems not to be defined in setup.options.php...

    Cheers,

    Jakob
      Add-On to easily manage your multilingual sites: Babel
      • 19534
      • 183 Posts
      Blame me! I just missed to see that there is a $modx object directly available...

      Sorry for the spam...
        Add-On to easily manage your multilingual sites: Babel