none
[openafs-wiki.git] / TWiki / PatternSkin.mdwn
1 # <a name="Pattern skin"></a><a name=" Pattern skin"></a> Pattern skin
2
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.
4
5 <div><span>Page contents</span><ul>
6     <li>
7       <ul>
8         <li><a href="#Screen Shot"> Screen Shot</a></li>
9       </ul>
10     </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>
15           </ul>
16         </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>
22         <li><a href="#Feedback"> Feedback</a></li>
23       </ul>
24     </li>
25   </ul>
26 </div>
27
28 ## <a name="Screen Shot"></a> Screen Shot
29
30 [<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.gif)
31
32 ## <a name="Supported browsers"></a> Supported browsers
33
34 PatternSkin has been tested succesfully on the following browsers:
35
36 - Windows
37   - Internet Explorer 6.0, 5.5 (note: Explorer 5.0 is **not** supported: will function but shows visual quirks)
38   - Mozilla/Firefox
39 - Mac OS X
40   - Safari 1.2
41   - Mozilla/Firefox
42
43 Not tested, but will probably work (let me know):
44
45 - \*nix
46   - Mozilla/Firefox
47
48 ## <a name="Installation"></a> Installation
49
50 **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
52 **Note 2:** PatternSkin is included with TWiki by default. Use the following instructions only if you are upgrading PatternSkin.
53
54 - Download the ZIP file from the Skin Home page (see below)
55 - Unzip <code>**%TOPIC%.zip**</code> in your twiki installation directory
56 - Test if installed: <http://www.dementia.org/twiki//view/%WEB%/%TOPIC%?skin=pattern>
57 - For skin activation see [[TWikiSkins]]
58
59 ### <a name="Troubleshooting"></a> Troubleshooting
60
61 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
63 Check these variables here:
64
65 - TWIKILAYOUTURL = %TWIKILAYOUTURL%
66 - TWIKISTYLEURL = %TWIKISTYLEURL%
67 - SKIN = %SKIN%
68
69 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
71         * %TWIKIWEB%.PatternSkin settings:
72                 * Set TWIKILAYOUTURL = %PUBURL%/%TWIKIWEB%/PatternSkin/layout.css
73                 * Set TWIKISTYLEURL = %PUBURL%/%TWIKIWEB%/PatternSkin/style.css
74
75 If this still does not work, contact the administrator who installs skins.
76
77 For further troubleshooting and feedback, go to TWiki:Plugins/PatternSkinDev.
78
79 ## <a name="Creating your own look"></a> Creating your own look
80
81 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
83 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.
84
85 You can eiter:
86
87 - Change the `layout.css` and `style.css` attachment files for this topic (upload updated versions)
88 - In [[TWikiPreferences]], point the variables `TWIKILAYOUTURL` and `TWIKISTYLEURL` to other attachments, perhaps in another topic (your new skin topic?)
89
90 See for practical details: [[PatternSkinCustomization]] %BR% The CSS classes that PatternSkin uses are documented in [[PatternSkinCss]].
91
92 ## <a name="Customization"></a> Customization
93
94 See: [[PatternSkinCustomization]], [[PatternSkinPalette]]
95
96 ## <a name="Further reading"></a> Further reading
97
98 - [[PatternSkinCustomization]] - Practical information on how to change the looks of PatternSkin
99 - [[PatternSkinPalette]] - How to change the colors only
100 - [[PatternSkinCss]] - A reference to used CSS classes
101 - TWiki:Plugins/PatternSkinDev - Development page, bug reports, solutions from users
102
103 ## <a name="Skin Info"></a> Skin Info
104
105 <table border="1" cellpadding="0" cellspacing="0">
106   <tr>
107     <td align="right"> Description: </td>
108     <td> Provides a CSS based default look and feel for TWiki - flexible and [[Main/W3C]]-compliant </td>
109   </tr>
110   <tr>
111     <td align="right"> Screenshot: </td>
112     <td><a href="http://www.dementia.org/twiki//view/patternskin_screenshot_full.gif"><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>
113   </tr>
114   <tr>
115     <td align="right"> Base Name: </td>
116     <td> pattern </td>
117   </tr>
118   <tr>
119     <td align="right"> Skin Author: </td>
120     <td> TWiki:Main/ArthurClemens </td>
121   </tr>
122   <tr>
123     <td align="right"> Skin Version: </td>
124     <td> 28 Aug 2004 (v1.0.9) </td>
125   </tr>
126   <tr>
127     <td align="right"> History: </td>
128     <td>  </td>
129   </tr>
130   <tr>
131     <td align="right"> 28 Aug 2004: </td>
132     <td> v.1.0.9 - CAIRO RELEASE VERSION - Removed twikiTopic div from attach template </td>
133   </tr>
134   <tr>
135     <td align="right"> 24 Aug 2004: </td>
136     <td> v.1.0.8 - Fix for disabled TablePlugin; added plain.pattern.tmpl </td>
137   </tr>
138   <tr>
139     <td align="right"> 23 Aug 2004: </td>
140     <td> v.1.0.7 - Change to checkboxes in edit and preview screen; removed REVINFO at bottom; style changes </td>
141   </tr>
142   <tr>
143     <td align="right"> 22 Aug 2004: </td>
144     <td> v.1.0.6b - Removed files from zip that are now part of the TWiki distribution; removed .DS_Store files </td>
145   </tr>
146   <tr>
147     <td align="right"> 17 Aug 2004: </td>
148     <td> v.1.0.6 - Support for twikiMoved css class </td>
149   </tr>
150   <tr>
151     <td align="right"> 17 Aug 2004: </td>
152     <td> v.1.0.5 - Fix for not showing SEARCHSTRING </td>
153   </tr>
154   <tr>
155     <td align="right"> 16 Aug 2004: </td>
156     <td> v.1.0.4 - Fixes search results layout with noheader="on" </td>
157   </tr>
158   <tr>
159     <td align="right"> 14 Aug 2004: </td>
160     <td> v.1.0.3 - Update to attach template, css fix to edit template </td>
161   </tr>
162   <tr>
163     <td align="right"> 14 Aug 2004: </td>
164     <td> v.1.0.2 - Fixes print template, table paddings in topics, minor changes to style.css </td>
165   </tr>
166   <tr>
167     <td align="right"> 13 Aug 2004: </td>
168     <td> v.1.0.1 - Updated /data/TWiki/WebLeftBarPersonalTemplate and style.css </td>
169   </tr>
170   <tr>
171     <td align="right"> 08 Aug 2004: </td>
172     <td> Initial version (v1.0.0) </td>
173   </tr>
174   <tr>
175     <td align="right"> Dependencies: </td>
176     <td>   </td>
177   </tr>
178   <tr>
179     <td align="right"> Skin Home: </td>
180     <td><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%</a></td>
181   </tr>
182   <tr>
183     <td align="right"> Feedback: </td>
184     <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>
185   </tr>
186   <tr>
187     <td align="right"> Download: </td>
188     <td><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%</a></td>
189   </tr>
190 </table>
191
192 ## <a name="Related topics"></a> Related topics
193
194 - [[TWikiCss]]
195 - [[WebBottomBar]]
196 - [[WebLeftBar]]
197 - [[WebLeftBarExample]]
198 - [[WebLeftBarPersonalTemplate]]
199 - [[WebLeftBarCookbook]]
200 - [[WebTopBar]]
201
202 See also [[Further reading|Main/TOPIC#Further_reading]] on this page.
203
204 Other skins:
205
206 - [[TWikiSkins]]
207 - [[TWikiSkinBrowser]]
208
209 ## <a name="Feedback"></a> Feedback
210
211 Leave remarks, suggestions and other feedback in TWiki:Plugins.PatternSkinDev.
212
213 -- TWiki:Main/ArthurClemens - 28 Aug 2004