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.
PatternSkin has been tested succesfully on the following browsers:
- Internet Explorer 6.0, 5.5 (note: Explorer 5.0 is not supported: will function but shows visual quirks)
- Mac OS X
- Safari 1.2
Not tested, but will probably work (let me know):
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.
PatternSkin is included with TWiki by default. Use the following instructions only if you are upgrading PatternSkin.
If you have set the SKIN variable setting to
and you still don't see the layout as on the screenshot
, a few settings in may have been disabled.
Check these variables here:
- TWIKILAYOUTURL = /pub/TWiki/PatternSkin/layout.css
- TWIKISTYLEURL = /pub/TWiki/PatternSkin/style.css
- SKIN = tagme, topmenu, pattern
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:
* %TWIKIWEB%.PatternSkin settings:
* Set TWIKILAYOUTURL = %PUBURL%/%TWIKIWEB%/PatternSkin/layout.css
* Set TWIKISTYLEURL = %PUBURL%/%TWIKIWEB%/PatternSkin/style.css
If this still does not work, contact the administrator who installs skins.
For further troubleshooting and feedback, go to TWiki:Plugins/PatternSkinDev
Creating your own look
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.
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.
You can eiter:
- Change the
style.css attachment files for this topic (upload updated versions)
- In TWikiPreferences, point the variables
TWIKISTYLEURL to other attachments, perhaps in another topic (your new skin topic?)
If you want to change colors and white space of screen elements, modify
If you want to change the positioning of screen elements, modify
See for practical details: PatternSkinCustomization
The CSS classes that PatternSkin uses are documented in PatternSkinCss
See also Further reading
on this page.
Leave remarks, suggestions and other feedback in TWiki:Plugins.PatternSkinDev
- 16 Aug 2004