Closed danreeves closed 10 years ago
the plugin needs to use the hook for getting the config, something like:
public function config_loaded(&$settings) { if (isset($settings['nbcol'])) $this->nbcol = $settings['nbcol']; }
then you can set it in config.php with $config['nbcol'] = 2; and access it in the plugin with $this->nbcol.
$config['nbcol'] = 2;
$this->nbcol
Fixed in commit 9247f31
the plugin needs to use the hook for getting the config, something like:
then you can set it in config.php with
$config['nbcol'] = 2;
and access it in the plugin with$this->nbcol
.