Project

General

Profile

User-supplied config values for a plugin - best approach?

Added by Chris R over 12 years ago

I'm writing a plugin that will require the user to set a config value (an API URL) before it can be used.

What's the best practice for doing this? Is there an easy way to add a config file to a plugin?

Or even better, is it straightforward to add an admin tool for the plugin to the Administration section? (Any examples of this?)