%META:TOPICINFO{author="TedPavlic" date="1058256060" format="1.0" version="1.1"}%
---+ <nop>%TOPIC%

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 %<nop>LISTOFSKINS% to get a unnumbered list of skins (in html).

---++ <nop>%TOPIC% Global Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write ==%<nop>&lt;plugin&gt;_&lt;setting&gt;%==, i.e. ==%<nop>INTERWIKIPLUGIN_SHORTDESCRIPTION%==

	* One line description, is shown in the %TWIKIWEB%.TextFormattingRules topic:
		* Set SHORTDESCRIPTION = Generates a list of available skins

	* 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 all related files from the Plugin web (see below)
	* Unzip ==%TOPIC%.zip== in your twiki installation directory. Content:
	  | *File:* | *Description:* |
	  | ==data/TWiki/%TOPIC%.txt== | Plugin topic |
	  | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository |
	  | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module |
	  | ==lib/listofskins.sh== | bash script |
	* configure the $TWIKILIBPATH var in lib/TWiki/Plugins/%TOPIC%.pm
	* configure the $TEMPLATE_PATH var in lib/listofskins.sh
	* Test if the installation was successful:

<table><tr><td align="center"> Available Skins </td></tr><tr><td align="left"> %LISTOFSKINS% </td></tr></table>

---++ Plugin Info

|  Plugin Author: | TWiki:Main/TedPavlic |
|  Plugin Version: | 15 Jul 2003 (V0.100) |
|  Change History: | <!-- versions below in reverse order -->&nbsp; |
|  15 Jul 2003: | Initial version |
|  CPAN Dependencies: | none |
|  Other Dependencies: | none |
|  Perl Version: | 5.005 |
|  Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
|  Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |

__Related Topics:__ %TWIKIWEB%.TWikiPreferences, %TWIKIWEB%.TWikiPlugins

-- TWiki:Main/TedPavlic - 15 Jul 2003 
