Changeset 3458
- Timestamp:
- 04/16/09 10:38:08 (3 years ago)
- Location:
- trunk/SlideShowPlugin
- Files:
-
- 2 edited
-
data/System/SlideShowPlugin.txt (modified) (4 diffs)
-
lib/Foswiki/Plugins/SlideShowPlugin.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/SlideShowPlugin/data/System/SlideShowPlugin.txt
r3350 r3458 2 2 ---+!! Slide Show Plugin 3 3 4 Converts a topic with headings into a slideshow. 4 %SHORTDESCRIPTION% 5 5 6 6 %TOC% … … 79 79 ---++ <nop>%TOPIC% preferences 80 80 81 Plugin settings are stored as [[%SYSTEMWEB%.PreferenceSettings][preference settings]]. To reference a plugin setting write ==%<nop><plugin>_<setting>%==, i.e. ==%<nop>SLIDESHOWPLUGIN_SHORTDESCRIPTION%== 81 You can override the default settings for the plugin by defining the following [[%SYSTEMWEB%.PreferenceSettings][preferences]]. 82 <!-- 83 * Set SHORTDESCRIPTION = Create web based presentations based on topics with headings. 84 --> 82 85 83 * One line description, is shown in the %SYSTEMWEB%.TextFormattingRules topic: 84 * Set SHORTDESCRIPTION = Create web based presentations based on topics with headings. 85 86 * Debug plugin: (See output in =data/debug.txt=) 87 * Set DEBUG = 0 88 89 * Default template for slides: 90 * Set TEMPLATE = SlideShowPlugin 91 92 * Label for Comments section 93 * Set COMMENTS_LABEL = Comments 94 95 * Hide text starting with a =---+++ %COMMENTS_LABEL%= heading: 96 * Set HIDECOMMENTS = 86 | *Preference* | *Meaning* | *Default* | 87 | SLIDESHOWPLUGIN_TEMPLATE | Default template for slides: | SlideShowPlugin | 88 | SLIDESHOWPLUGIN_COMMENTS_LABEL | Label for Comments section | Comments | 89 | SLIDESHOWPLUGIN_HIDECOMMENTS | Hide text starting with a =---+++ %COMMENTS_LABEL%= heading | | 97 90 98 91 ---++ Default slide template … … 124 117 125 118 ---++ Plugin installation instructions 126 127 *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 Foswiki is running. 128 129 * Download the ZIP file from the Plugin Home (see below) 130 * Unzip ==%TOPIC%.zip== in your Foswiki installation directory. Content: 131 | *File:* | *Description:* | 132 | ==data/System/%TOPIC%.txt== | Plugin topic | 133 | ==lib/Foswiki/Plugins/%TOPIC%.pm== | Plugin Perl module | 134 | ==lib/Foswiki/Plugins/%TOPIC%/SlideShow.pm== | Plugin Perl module | 135 | ==pub/System/*.gif== | Various button image files | 136 * Run the [[%SCRIPTURL{"configure"}%][configure]] script, and enable the plugin in the ={Plugins}= section. 119 %$INSTALL_INSTRUCTIONS% 137 120 * Test above example if the installation was successful. 138 121 … … 159 142 | 19 Nov 2002: | Added "Start presentation" and "End presentation" buttons; added =%<nop>SLIDENAVFIRST%=, =%<nop>SLIDENAVPREV%=, =%<nop>SLIDENAVNEXT%= template keywords | 160 143 | 17 Nov 2002: | Initial version | 161 | CPAN Dependencies: | none |162 | Other Dependencies: | none |163 | Perl Version: | 5.008 |164 144 | Plugin Home: | http://foswiki.org/Extensions/%TOPIC% | 165 145 | Support: | http://foswiki.org/Support/%TOPIC% | -
trunk/SlideShowPlugin/lib/Foswiki/Plugins/SlideShowPlugin.pm
r3348 r3458 22 22 23 23 use vars qw( 24 $web $topic $user $installWeb $ VERSION $RELEASE $debug $addedHead24 $web $topic $user $installWeb $debug $addedHead 25 25 ); 26 26 27 28 # This should always be $Rev$ so that Foswiki can determine the checked-in 29 # status of the plugin. It is used by the build automation tools, so 30 # you should leave it alone. 31 $VERSION = '$Rev$'; 32 33 # This is a free-form string you can use to "name" your own plugin version. 34 # It is *not* used by the build automation tools, but is reported as part 35 # of the version number in PLUGINDESCRIPTIONS. 36 $RELEASE = '31 Mar 2009'; 27 our $VERSION = '$Rev$'; 28 our $RELEASE = '31 Mar 2009'; 29 our $SHORTDESCRIPTION = 'Create web based presentations based on topics with headings'; 30 our $NO_PREFS_IN_TOPIC = 1; 37 31 38 32 sub initPlugin {
Note: See TracChangeset
for help on using the changeset viewer.
