join
donate

RandomQuotePlugin

Retrieve a random quote from a MySQL database table and display on a TWiki page

Syntax Rules

Examples

RandomQuotePlugin Global Settings

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

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = one line description here

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

  • My own setting:
    • Set HOWTO = got it!

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 RandomQuotePlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/RandomQuotePlugin.txt Plugin topic
    data/TWiki/RandomQuotePlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/RandomQuotePlugin.pm Plugin Perl module
  • Test if the installation was successful:
    • enter samples here

Plugin Info

Plugin Author: TWiki:Main/guest
Plugin Version: 28 Jun 2003 (V1.000)
Change History:  
28 Jun 2003: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/RandomQuotePlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/RandomQuotePluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- TWiki:Main/guest - 28 Jun 2003


This topic: TWiki > RandomQuotePlugin
Topic revision: r1 - 2003-06-28 - 03:37:15 - JasonTromm
 
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 NTP? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.RandomQuotePlugin