TWiki Skins
Skins are customized
TWikiTemplate files. You can use skins to change the look of a TWiki topic, for example the layout of the header and footer. Note that the renderd text between header and footer does
not change. You can use skins also to define an alternate view, i.e. a view optimized for printing.
A skin file is located in the
twiki/template
directory and has a name like
<scriptname>.<skin>.tmpl
. For example, the
print
skin for the
view
template is
view.print.tmpl
(red color added for clarification).
A skin can be activated in two ways:
- Define the SKIN preference variable in TWikiPreferences, one of the WebPreferences, or a user preference. I.e.
- Add
?skin=name
to the URL, i.e. for this topic:
The
?skin=name
URL parameter overrides the SKIN preference value.
--
PeterThoeny - 14 Jul 2001