create new tag
, view all tags


sample shell for an object-oriented plugin

Syntax Rules


feel free to improve the examples by editing TWiki:Plugins/EmptyOoPlugin

EmptyOoPlugin Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %EMPTYOOPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = empty oo plugin

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

Plugin Installation Instructions

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 EmptyOoPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/EmptyOoPlugin.txt Plugin topic
    data/TWiki/EmptyOoPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/OoPlugin.pm OoPlugin Perl module base class
    lib/TWiki/Plugins/EmptyOoPlugin.pm Plugin Perl module
    data/Sandbox/TestTopicEmptyOoPlugin.txt Plugin topic test
  • Test if the installation was successful:

Plugin Info

Plugin Author: TWiki:Main/WillNorris
Plugin Version: 13 Oct 2003 (V1.000)
Change History:  
12 Oct 2003: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/EmptyOoPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/EmptyOoPluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main/WillNorris - 13 Oct 2003

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivezip EmptyOoPlugin.zip r3 r2 r1 manage 5.7 K 2003-10-16 - 07:59 WillNorris  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2004-02-25 - WillNorris
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.