diff options
author | Peter Thoeny <web-hurd@gnu.org> | 2001-07-15 06:49:40 +0000 |
---|---|---|
committer | Peter Thoeny <web-hurd@gnu.org> | 2001-07-15 06:49:40 +0000 |
commit | b2f3658a87486add43e2cf83c81bf225daae23f8 (patch) | |
tree | b52f33e9ba02c0bd957cf6343acb0641fb14d5c5 | |
parent | ba906061d7318bbc2a3245ceb682c42107ae8feb (diff) |
none
-rw-r--r-- | TWiki/TWikiSkins.mdwn | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TWiki/TWikiSkins.mdwn b/TWiki/TWikiSkins.mdwn index 8ffc2321..c0edadd9 100644 --- a/TWiki/TWikiSkins.mdwn +++ b/TWiki/TWikiSkins.mdwn @@ -1,17 +1,17 @@ ## <a name="TWiki_Skins"> TWiki Skins </a> -Skins are customized template 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 use skins also to define an alternate view, i.e. a view optimized for printing. -A skin file is located in the <code>**twiki/template**</code> directory and has a name like <code>**<scriptname>.<skin>.tmpl**</code> or <code>**<scriptname>.<topicname>.<skin>.tmpl**</code>. For example, the <code>**print**</code> skin for the <code>**view**</code> template is <code>**view<font>.print</font>.tmpl**</code> (red color added for clarification). +A skin file is located in the <code>**twiki/template**</code> directory and has a name like <code>**<scriptname>.<skin>.tmpl**</code>. For example, the <code>**print**</code> skin for the <code>**view**</code> template is <code>**view<font>.print</font>.tmpl**</code> (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 <br />**Note:** Who has time to create the classic `wikiwiki` skin? + * `Set SKIN = wikiwiki` * Add `?skin=name` to the URL, i.e. for this topic: * %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) The <code>**?skin=name**</code> URL parameter overrides the SKIN preference value. --- [[PeterThoeny]] - 16 Mar 2001 <br /> +-- [[PeterThoeny]] - 14 Jul 2001 <br /> |