TWiki Skins
Skins overlay regular templates with alternate header/footer layouts; topic text is not affectedOverview
Skins are customized TWikiTemplates files. You can use skins to change the look of a TWiki topic, for example, the layout of the header and footer. Rendered text between header and footer does not change. You can also use skins to define an alternate view, like a view optimized for printing.Defining Skins
Skin files are located in thetwiki/templates directory and are named with the syntax: <scriptname>.<skin>.tmpl. For example, the Printable skin for the view template is view.print.tmpl.
Activating Skins
A skin can be activated in two ways:- Define the
SKINPreference variable in TWikiPreferences, one of the WebPreferences, or in a user - Main.guest - topic.-
Set SKIN = print
-
- Add
?skin=nameto the URL, for this example:- http://perl.jonallen.info/bin/view/TWiki/TWikiSkins?skin=print (for the print view skin)
- http://perl.jonallen.info/bin/view/TWiki/TWikiSkins?skin=plain (for the plain view skin that has no header and footer)
?skin=name URL parameter overrides the SKIN Preference value.
-- PeterThoeny - 14 Jul 2001 Copyright © 2003-2008 Jon Allen (JJ)
Last site update was on 13 Nov 2008 - 11:00 What's new?