X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=blobdiff_plain;f=TWiki%2FEmptyPlugin.mdwn;h=dd06c94ac7af3800b31e2337dbe2f76548518aed;hp=f65e243ad8760d20d09da070104deee377c1fb4f;hb=a1173b6de0034b12460d1ab8eeb1df2ed88c9049;hpb=bfcf3d5f2f2f75f4914c474c0aaebc065c56ea38 diff --git a/TWiki/EmptyPlugin.mdwn b/TWiki/EmptyPlugin.mdwn index f65e243..dd06c94 100644 --- a/TWiki/EmptyPlugin.mdwn +++ b/TWiki/EmptyPlugin.mdwn @@ -1,4 +1,4 @@ -## Empty TWiki Plugin +# Empty TWiki Plugin This is an empty plugin you can use as a template to build your own [[TWikiPlugins]]. This plugin does nothing, but is ready to be used. @@ -8,28 +8,52 @@ To create your own plugin: - Create a **<name>Plugin** topic in the TWiki web. Do so by visiting and starting a new topic to get the default plugin topic text (don't save the topic). Customize your plugin topic to your needs. - See details in [[TWikiPlugins]]. -### Syntax Rules +## Syntax Rules -(none) +(describe the syntax) -### %TOPIC% Settings +## %TOPIC% Global Settings Plugin settings are stored as preferences variables. To reference a plugin setting write **%<plugin>\_<setting>%**, for example, **%EMPTYPLUGIN\_SHORTDESCRIPTION%** - One line description, shown in the [[TextFormattingRules]] topic: - Set SHORTDESCRIPTION = This plugin does nothing, but can be used as a template for your own plugins. -- Your own setting, i.e.: +- Your own settings, for example: - Set EXAMPLE = got it! - Debug plugin: (See output in `data/debug.txt`) - Set DEBUG = 0 -### Plugin Installation Instructions +## Plugin Installation Instructions -- This plugin is preinstalled, you do not need to install it. +(This plugin is preinstalled, you do not need to install it.) -### Plugin Info +**_Note:_** You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running. + +- Download the ZIP file from the Plugin web (see below) +- Unzip **%TOPIC%.zip** in your twiki installation directory. Content: + + + + + + + + + + + + + + + + +
File: Description:
data/TWiki/%TOPIC%.txt Plugin topic
data/TWiki/%TOPIC%.txt,v Plugin topic repository
lib/TWiki/Plugins/%TOPIC%.pm Plugin Perl module
+- Test if the plugin is correctly installed: + - (describe tests here) + +## Plugin Info @@ -38,11 +62,19 @@ Plugin settings are stored as preferences variables. To reference a plugin setti - + - + + + + + + + + + @@ -54,7 +86,7 @@ Plugin settings are stored as preferences variables. To reference a plugin setti - + @@ -68,4 +100,4 @@ Plugin settings are stored as preferences variables. To reference a plugin setti **_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[DefaultPlugin]] --- [[AndreaSterbini]] - 27 Feb 2001
-- [[PeterThoeny]] - 14 Jul 2001
+-- [[AndreaSterbini]] - 27 Feb 2001
-- [[PeterThoeny]] - 14 Jul 2001
Plugin Version: 14 Jul 2001 14 Jul 2001 (V1.000)
Change History: 14 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
 
14 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
CPAN Dependencies:
Perl Version: 5.0 5.005
Plugin Home: