From b9317586787871628137b4c44ae57e179f097c8c Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Thu, 30 Aug 2001 22:08:21 +0000 Subject: none --- TWiki/TWikiSkins.mdwn | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'TWiki') diff --git a/TWiki/TWikiSkins.mdwn b/TWiki/TWikiSkins.mdwn index c0edadd9..34b22a2b 100644 --- a/TWiki/TWikiSkins.mdwn +++ b/TWiki/TWikiSkins.mdwn @@ -1,14 +1,14 @@ ## TWiki Skins -Skins are customized [[TWikiTemplates]] files. You can use skins to change the look of a %WIKITOOLNAME% 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 [[TWikiTemplates]] files. You can use skins to change the look of a %WIKITOOLNAME% 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. -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: -* Define the SKIN preference variable in [[TWiki/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 [[TWiki/TWikiPreferences]], one of the [[WebPreferences]], or a user preference. Ex: + * `Set SKIN = print` +* Add `?skin=name` to the URL, for this example: * %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=print (for the print view skin) * %SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%?skin=plain (for the plain view skin that has no header and footer) -- cgit v1.2.3