Learn how to create your own plugin in DevelopingPlugins
Documentation for Plugin API is in PerlDoc for EmptyPlugin.pm
Note that EmptyPlugin
is documentation only. Its
settings are ignored by
and it cannot be enabled.
Plugin preferences should be set using
, as described in
You can also use preference settings
to define any user-controllable configuration. You are strongly advised
to use the name of the plugin as a prefix, to avoid the risk of namespace
clashes with other extensions that may try to use the same name.
- Set EXAMPLE = Example setting
- Set FORMAT = %d-%m-%y
- Set EMPTYPLUGIN_EXAMPLE = Example setting
- Set EMPTYPLUGIN_FORMAT = %d-%m-%y
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. "Extensions Operation and Maintenance" Tab → "Install, Update or Remove extensions" Tab. Click the "Search for Extensions" button.
Enter part of the extension name or description and press search. Select the desired extension(s) and click install. If an extension is already installed, it will not
show up in the
You can also install from the shell by running the extension installer as the web server user: (Be sure to run as the webserver user, not as root!)
perl tools/extension_installer <NameOfExtension> install
If you have any problems, or if the extension isn't available in
, then you can still install manually from the command-line. See https://foswiki.org/Support/ManuallyInstallingExtensions
for more help.