Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r3  >  r2  ...
EmptyPlugin 3 - 14 Jul 2001 - Main.PeterThoeny
Line: 1 to 1
 

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.

Line: 6 to 6
 To create your own plugin:

  • Copy file TWiki/Plugins/EmptyPlugin.pm to <name>Plugin.pm and customize the plugin.
Changed:
<
<
  • Copy this topic to <name>Plugin and customize it.
>
>
  • Create a <name>Plugin topic in the TWiki web. Do so by visiting http://TWiki.org/cgi-bin/view/Plugins/ and starting a new topic to get the default plugin topic text (don't save the topic). Customize your plugin topic to your needs.
 

Syntax Rules

(none)

Changed:
<
<

EmptyPlugin Preferences

>
>

EmptyPlugin Settings

 
Changed:
<
<
Plugin preferences are stored as preferences variables. To reference a plugin preference write %<plugin name>_<preference name>%, i.e. %EMPTYPLUGIN_SHORTDESCRIPTION%
>
>
Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %EMPTYPLUGIN_SHORTDESCRIPTION%
 
Changed:
<
<
>
>
 
    • Set SHORTDESCRIPTION = This plugin does nothing, but can be used as a template for your own plugins.
Changed:
<
<
  • Your own preferences, i.e.:
    • Set COLOR = red
>
>
  • Your own setting, i.e.:
    • Set EXAMPLE = got it!

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0
 

Plugin Installation Instructions

Line: 31 to 34
 

Plugin Info

Plugin Author: AndreaSterbini? , PeterThoeny
Changed:
<
<
Plugin Version: 08 Jul 2001
Change History: 08 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
>
>
Plugin Version: 14 Jul 2001
Change History: 14 Jul 2001: Changed to plug&play
27 Feb 2001: Initial version
 
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Line: 42 to 45
 Related Topics: TWikiPreferences, TWikiPlugins, DefaultPlugin?

-- AndreaSterbini? - 27 Feb 2001

Changed:
<
<
-- PeterThoeny - 08 Jul 2001
>
>
-- PeterThoeny - 14 Jul 2001

Revision 3r3 - 14 Jul 2001 - 22:18:34 - PeterThoeny?
Revision 2r2 - 09 Jul 2001 - 08:56:29 - PeterThoeny?
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM