Question
Hi,
I would like to customize some colors in my Twiki. The documentation says i have to let
PatternSkin point to the custom-made colors style sheet. so i set:
Set USERCOLORSURL = /twiki/pub/Main/TWikiPreferences/theme-colors.css
This doesnt work. In my Twiki installtion there is no such file as theme-colors.css. how can i solve this problem?
Environment
--
MaartenDeRuiter - 26 Jul 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
You need to create it and attach it to Main/TWikiPreferences. Just create a plain text file called theme-colors.css that contains your color style definitions.
--
LynnwoodBrown - 26 Jul 2007
The documentation has an error in the file path. In Main.TWikiPreferences, write
Set USERCOLORSURL = /twiki/pub/TWiki/PatternSkinColorSettings/theme-colors.css
--
ArthurClemens - 26 Jul 2007
Thanks guys! it worked out, i also discovered that i have to save twice to see the results"
--
MaartenDeRuiter - 27 Jul 2007
Why do you need to save twice?
--
ArthurClemens - 27 Jul 2007
There's actually a second error, a bug in 4.1.2. You need to change the STARTATTACH statement to actually create the CSS in Main/TWikiPreferences. By default it otherwise gets created in the current topic. Change the
PatternSkinColorSettings page to:
%STARTATTACH{"theme-colors.css" web="Main" topic="TWikiPreferences"}%
--
JoachimNilsson - 03 Jan 2008