ListOfSkinsPlugin
ListOfSkinsPlugin is a bash-shell-script generating a list of all
skins available on the site. To accomplish its task the script looks through the templates directory. This is based off the
TWiki:Plugins/TodaysVisitorsPlugin
.
Syntax Rules
- Use %LISTOFSKINS% to get a unnumbered list of skins (in html).
ListOfSkinsPlugin 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 = Generates a list of available skins
- Debug plugin: (See output in
data/debug.txt)
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 all related files from the Plugin web (see below)
- Unzip
ListOfSkinsPlugin.zip in your twiki installation directory. Content: | File: | Description: |
data/TWiki/ListOfSkinsPlugin.txt | Plugin topic |
data/TWiki/ListOfSkinsPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/ListOfSkinsPlugin.pm | Plugin Perl module |
lib/listofskins.sh | bash script |
- configure the $TWIKILIBPATH var in lib/TWiki/Plugins/ListOfSkinsPlugin.pm
- configure the $TEMPLATE_PATH var in lib/listofskins.sh
- Test if the installation was successful:
| Available Skins |
| %LISTOFSKINS% |
Plugin Info
Related Topics: TWikiPreferences,
TWikiPlugins
--
TWiki:Main/TedPavlic
- 15 Jul 2003