Custom Configuration Option
Can one add a new 'custom' configuration setting (say, for a plugin).
For example:
$Configuration['Vanilla']['MyPlugin']['SomeOption'] = 'My Plugin Option';
$Configuration['Vanilla']['MyPlugin']['SomeOtherOption'] = 'My Plugin Other Option';
If so, where would such code appear (?In the Plugin setup() code?, In some custom config file?)
When clicking the Config link in documentation one gets the message that the page does not exist yet...
Thanks
Best Answers
-
hbf MVP
take a look at some plugins that include settings on the dashboard. many put the settings in the config file. try who;s online. i seem to recall that there is at least one global setting for that tool
0 -
bh8vn ✭
Exploring other plugins is the best way to learn how to work with vanilla.
I'm working with some new plugins here: http://bh8.vn0
Answers
take a look at some plugins that include settings on the dashboard. many put the settings in the config file. try who;s online. i seem to recall that there is at least one global setting for that tool
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained
Exploring other plugins is the best way to learn how to work with vanilla.
I'm working with some new plugins here: http://bh8.vn