We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37582
    • 65 Posts
    I use a plugin which comes with systems settings I can alter in the system settings section. However, I want to the plugin to read it's configuration from the config.inc.php by adding it to the $config_options array. How can I access this setting from within the plugin?
      • 22303 MODX Staff
      • 10,725 Posts
      The $config_options simply seed the config before any of the MODX settings are loaded over them. Once a System, Context, or User Setting is loaded with the same key as a config_options value, it is overridden and no longer accessible. If you want to respect the values set in the config_options, you will need to make sure there is not a Setting of the same key.
        • 37582
        • 65 Posts
        Sounds sound. On top of that: It worked. Thanks again for so much expertise, opengeek grin