TWiki> TWiki Web>EmptyPlugin (revision 2)EditAttach

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.

To create your own plugin:

  • Copy file TWiki/Plugins/EmptyPlugin.pm to <name>Plugin.pm and customize the plugin.
  • Copy this topic to <name>Plugin and customize it.
  • See details in TWikiPlugins.

Syntax Rules

(none)

EmptyPlugin Preferences

Plugin preferences are stored as preferences variables. To reference a plugin preference write %<plugin name>_<preference name>%, i.e. %EMPTYPLUGIN_SHORTDESCRIPTION%

  • One line description, is included in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = This plugin does nothing, but can be used as a template for your own plugins.

  • Your own preferences, i.e.:
    • Set COLOR = red

Plugin Installation Instructions

  • This plugin is preinstalled, you do not need to install it.

Plugin Info

Plugin Author: AndreaSterbini? , PeterThoeny
Plugin Version: 08 Jul 2001
Change History: 08 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/EmptyPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/EmptyPluginDev

Related Topics: TWikiPreferences, TWikiPlugins, DefaultPlugin?

-- AndreaSterbini? - 27 Feb 2001
-- PeterThoeny - 08 Jul 2001

Edit | Attach | Print version | History: r12 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 09 Jul 2001 - 05:56:29 - PeterThoeny

 
This site is powered by the TWiki collaboration platformCopyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.EmptyPlugin