Plugins

Plugins are living in the plugins/ subdirectory.

They are activated by adding them to variable PLUGINS (comma separated list of plugins).

Please read the README for the plugin first and follow the instructions before activating the plugin.

Authoring plugins

Plugins are basically a small WellWell catalog on its own. The configuration file is called plugin.cfg. The basic plugin.cfg configuration can be as follows:

  Message Loading helloworld plugin.
  
  Variable CURPLUGIN helloworld
  include plugins/default.cfg

Each plugin should have an info file NAME.info that contains basic information about the plugin, such as:

  name = Hello world!
  version = 0.1
  author = Stefan Hornburg (Racke) <racke@linuxia.de>
  
  Directory structure
  
  NAME.info  - info file (see Info file)
  plugin.cfg - configuration file (see Configuration)
  code       - directory for custom code (tags, functions, ...)
  pages/NAME - directory for pages
  components - directory for components

 

DocBook! Interchange!