Difference: TWikiSkins (3 vs. 4)

Revision 42001-08-30 - MikeMannix

Line: 1 to 1
 

0.1 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 use skins also to define an alternate view, i.e. a view optimized for printing.
>
>
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.
 
Changed:
<
<
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).
>
>
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).
  A skin can be activated in two ways:
Changed:
<
<
  • Define the SKIN preference variable in TWikiPreferences, one of the WebPreferences, or a user preference. I.e.
    • Set SKIN = wikiwiki
  • Add ?skin=name to the URL, i.e. for this topic:
>
>
  • Define the SKIN preference variable in TWikiPreferences, one of the WebPreferences, or a user preference. Ex:
    • Set SKIN = print
  • Add ?skin=name to the URL, for this example:
 
 
This site is powered by the TWiki collaboration platformCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiSkins.