Log In
or
Register
TWiki Web
Users
Groups
Index
Search
Changes
Notifications
Statistics
Preferences
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
AdminToolsCategory
InterWikis
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Main
Sandbox
TWiki
You are here:
FS
>
TWiki Web
>
TWikiSkins
r16 - 17 Dec 2005 - 13:33 -
TWikiContributor
View topic
|
Edit
Attach
P
rintable
Start of topic |
Skip to actions
---## TWiki Skins 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. A skin file is located in the ==twiki/template== directory and has a name like ==<scriptname>.<skin>.tmpl== or ==<scriptname>.<topicname>.<skin>.tmpl==. For example, the ==print== skin for the ==view== template is ==view<font color="red">.print</font>.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. * <nop>Set SKIN = wikiwiki <br> *Note:* Who has time to create the classic =wikiwiki= skin? * 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 ==?skin=name== URL parameter overrides the SKIN preference value. -- PeterThoeny - 16 Mar 2001 <br>
End of topic
Skip to actions
|
Back to top
View topic
|
Edit
|
Attach
|
P
rintable
|
R
aw view
|
Backlinks:
We
b
,
A
l
l webs
|
H
istory
:
r16
|
r4
<
r3
<
r2
<
r1
|
More topic actions...
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding FS?
Send feedback