[dokuwiki] Re: Plugin Configuration

Terence J. Grant wrote:
Aloha everybody,

Regarding this:

http://wiki.splitbrain.org/plugin:tutorial#configuration

I think I understand what it's saying, just need a little clarification...

Does this work for all plugin types or just admin plugins?

Data gets saved in the plugin's "metadata.php" file?

Do you get your own configuration page on the "Administration" section
or is saying you get a section in the overall "Configuration
settings"? If it's the latter, is there some alternative method to
take advantage of the display structure but on a separate page?

It works for all types of plugins.
Data gets saved in conf/local.php
The plugin gets a section on the config settings page.
Alternative method is to write your own admin plugin to handle the configuration of your plugin. Admin plugins get their own menu item in the admin menu (they can still have their settings handled by the config plugin).


Take a look at some examples - plugins which can be configured via the config settings, e.g Blog, Linebreak, Source, Googlemaps. There could be others.

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: