Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Skin

-- MaartenDeRuiter - 26 Jul 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic revision: r6 - 2008-01-03 - JoachimNilsson
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.