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 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

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-01-03 - JoachimNilsson
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.