Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r6  >  r5  ...
TWikiSkins 6 - 10 Sep 2001 - Main.MikeMannix
Line: 1 to 1
Added:
>
>
 

TWiki Skins

Changed:
<
<
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 also use skins to define an alternate view, ex: a view optimized for printing.
>
>
Overlay regular templates with alternate header/footer layouts
 
Changed:
<
<
Skin files are located in the twiki/template directory and are name with this syntax: <scriptname>.<skin>.tmpl. For example, the print skin for the view template is view.print.tmpl (red color added for clarification).
>
>

Overview

Skins are customized TWiki Templates 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 the twiki/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:
Changed:
<
<
>
>
 
    • Set SKIN = print
Added:
>
>
 
Line: 12 to 24
 
Changed:
<
<
The ?skin=name URL parameter overrides the SKIN preference value.
>
>
The ?skin=name URL parameter overrides the SKIN Preference value.
 -- PeterThoeny - 14 Jul 2001

Revision 6r6 - 10 Sep 2001 - 00:07:45 - MikeMannix?
Revision 5r5 - 07 Sep 2001 - 10:07:38 - MikeMannix?
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM