1 # <a name="Pattern skin"></a><a name=" Pattern skin"></a> Pattern skin
3 **PatternSkin is developed to provide a CSS based default look and feel for TWiki - flexible and [[W3C]]-compliant.** Its layout and color scheme are designed to provide a nice, clean and productive _editing environment_. For use in corporate or perhaps in personal websites it should be fairly easy to tune the looks or even create a PatternSkin-based new skin.
5 <div><span>Page contents</span><ul>
8 <li><a href="#Screen Shot"> Screen Shot</a></li>
11 <li><a href="#TWiki Installation Error">TWiki Installation Error</a><ul>
12 <li><a href="#Supported browsers"> Supported browsers</a></li>
13 <li><a href="#Installation"> Installation</a><ul>
14 <li><a href="#Troubleshooting"> Troubleshooting</a></li>
17 <li><a href="#Creating your own look"> Creating your own look</a></li>
18 <li><a href="#Customization"> Customization</a></li>
19 <li><a href="#Further reading"> Further reading</a></li>
20 <li><a href="#Skin Info"> Skin Info</a></li>
21 <li><a href="#Related topics"> Related topics</a></li>
27 ## <a name="Screen Shot"></a> Screen Shot
29 [<img src="http://www.dementia.org/twiki//view/patternskin_screenshot.gif" width="600" height="130" alt="Click for full screen image" style="border: 1px solid #eee" />](http://www.dementia.org/twiki//view/patternskin_screenshot_full.png)
31 ## <a name="Supported browsers"></a> Supported browsers
33 PatternSkin has been tested succesfully on the following browsers:
36 - Internet Explorer 6.0, 5.5 (note: Explorer 5.0 is **not** supported: will function but shows visual quirks)
42 Not tested, but will probably work (let me know):
47 ## <a name="Installation"></a> Installation
49 **Note:** You do not need to install anything on the browser to use this skin. The following instructions are for the administrator who installs the skin on the server where TWiki is running.
51 **Note 2:** PatternSkin is included with TWiki by default. Use the following instructions only if you are upgrading PatternSkin.
53 - Download the ZIP file from the Skin Home page (see below)
54 - Unzip <code>**%TOPIC%.zip**</code> in your twiki installation directory
55 - Test if installed: <http://www.dementia.org/twiki//view/%WEB%/%TOPIC%?skin=pattern>
56 - For skin activation see [[TWikiSkins]]
58 ### <a name="Troubleshooting"></a> Troubleshooting
60 If you have set the SKIN variable setting to `pattern` and you still don't see the layout as on the [screenshot](http://www.dementia.org/twiki//view/patternskin_screenshot_full.png), a few settings in may have been disabled.
62 Check these variables here:
64 - TWIKILAYOUTURL = %TWIKILAYOUTURL%
65 - TWIKISTYLEURL = %TWIKISTYLEURL%
68 If TWIKILAYOUTURL or TWIKISTYLEURL don't give a value or point to non-existing files, check in [[TWikiPreferences]] that the following variables do exist and that they are set to on:
70 * %TWIKIWEB%.PatternSkin settings:
71 * Set TWIKILAYOUTURL = %PUBURL%/%TWIKIWEB%/PatternSkin/layout.css
72 * Set TWIKISTYLEURL = %PUBURL%/%TWIKIWEB%/PatternSkin/style.css
74 If this still does not work, contact the administrator who installs skins.
76 For further troubleshooting and feedback, go to TWiki:Plugins/PatternSkinDev.
78 ## <a name="Creating your own look"></a> Creating your own look
80 It is easy to tune the look and feel of PatternSkin by changing the color and space (margin, padding) settings in the Style Sheet files.
82 You may also choose to radically change the look and create a PatternSkin-based new skin. This is easier than to create a skin by writing new template files; you can concentrate on how things should look instead of what elements should get displayed.
86 - Change the `layout.css` and `style.css` attachment files for this topic (upload updated versions)
87 - In [[TWikiPreferences]], point the variables `TWIKILAYOUTURL` and `TWIKISTYLEURL` to other attachments, perhaps in another topic (your new skin topic?)
89 If you want to change colors and white space of screen elements, modify `style.css`. <br /> If you want to change the positioning of screen elements, modify `layout.css`.
91 See for practical details: [[PatternSkinCustomization]]<br /> The CSS classes that PatternSkin uses are documented in [[PatternSkinCss]].
93 ## <a name="Customization"></a> Customization
95 See: [[PatternSkinCustomization]]
97 ## <a name="Further reading"></a> Further reading
99 - [[PatternSkinCustomization]] - Practical information on how to change the looks of PatternSkin
100 - [[PatternSkinCss]] - A reference to used CSS classes
101 - TWiki:Plugins/PatternSkinDev - Development page, bug reports, solutions from users
103 ## <a name="Skin Info"></a> Skin Info
105 <table border="1" cellpadding="0" cellspacing="0">
107 <td align="right"> Description: </td>
108 <td> Provides a CSS based default look and feel for TWiki - flexible and [[Main/W3C]]-compliant </td>
111 <td align="right"> Screenshot: </td>
112 <td><a href="http://www.dementia.org/twiki//view/patternskin_screenshot_full.png"><img alt="Click for full screen image" height="130" src="http://www.dementia.org/twiki//view/patternskin_screenshot.gif" style="border: 1px solid #eee" width="600" /></a></td>
115 <td align="right"> Base Name: </td>
119 <td align="right"> Skin Author: </td>
120 <td> TWiki:Main/ArthurClemens </td>
123 <td align="right"> Skin Version: </td>
124 <td> 08 Aug 2004 (v1.000) </td>
127 <td align="right"> Download PatternSkin: </td>
128 <td><a href="http://www.dementia.org/twiki//view/PatternSkin.zip" target="_top">PatternSkin.zip</a><br /><strong>Note:</strong> the CSS files in this topic may be more recent than the version in the zip file </td>
131 <td align="right"> Change History: </td>
135 <td align="right"> 14 Aug 2004: </td>
136 <td> v.1.0.3 - Update to attach template, css fix to edit template </td>
139 <td align="right"> 14 Aug 2004: </td>
140 <td> v.1.0.2 - Fixes print template, table paddings in topics, minor changes to style.css </td>
143 <td align="right"> 13 Aug 2004: </td>
144 <td> v.1.0.1 - Updated /data/TWiki/WebLeftBarPersonalTemplate and style.css </td>
147 <td align="right"> 08 Aug 2004: </td>
148 <td> Initial version (v1.000) </td>
151 <td align="right"> Dependencies: </td>
152 <td>[[TWiki/TablePlugin]]</td>
155 <td align="right"> Skin Home: </td>
156 <td><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%</a></td>
159 <td align="right"> Feedback: </td>
160 <td><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev</a></td>
164 ## <a name="Related topics"></a> Related topics
166 - TWiki:TWiki/TWikiCss
167 - TWiki:TWiki/WebBottomBar
168 - TWiki:TWiki/WebLeftBar
169 - TWiki:TWiki/WebLeftBarPersonalTemplate
170 - TWiki:TWiki/WebLeftBarCookbook
171 - TWiki:TWiki/WebTopBar
173 See also [[Further reading|Main/TOPIC#Further_reading]] on this page.
177 - TWiki:TWiki/TWikiSkins
178 - TWiki:TWiki/TWikiSkinBrowser
182 -- TWiki:Main/ArthurClemens - 15 Aug 2004