Tags:
create new tag
view all tags

SID-01327: TWiki 5.1.0 Setting Web Background Color

Status: Answered Answered TWiki version: 5.1.0 Perl version: 5.10.1
Category: CategoryTemplates Server OS: Debian 6.0.3 (Squeeze) Last update: 14 years ago

I followed the instructions in TWiki Instant Enhancements to set the background color of all pages of a web by editing a template and adding a variable, but they don't seem to work and reference view.tmpl which does not have a body tag definition.

The TWiki Instant Enhancements topic probably needs to be updated.

I tried setting it in view.classic.tmpl and twiki.tmpl but they don't work either.

I'm sure missing something very basic, so any pointers are appreciated and apologies if this has already been answered. If there is a better way to do this using skins or some other way, I'm open.

Thanks for continuing to provide such an awesome wiki platform to the community!

-- SergeiHaramundanis - 2011-11-12

Discussion and Answer

To change just the colors use the topic PatternSkinColorSettings in TWiki web. In this site is in TWiki05x01.PatternSkinColorSettings. Take a look also to TWiki05x01.PatternSkinCustomization.

-- EnriqueCadalso - 2011-11-20

Thanks for the reference to PatternSkinColorSettings.

I found the easiest way to set the background color of all pages is by editing Main.TWikiPreferences and including the following in Site Specific Site-wide Preferences:

I also used this section to increase the attachment file size limit to 20MB by including:

  • Set ATTACHFILESIZELIMIT = 20000

Initially this didn't work because the installation included an equals ('=') character in front of the preference variable, i.e.:

=PAGEBGCOLOR

Once I removed the equals character, it worked!

-- SergeiHaramundanis - 2011-11-27

      Change status to:
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.
SupportForm
Status Answered
Title TWiki 5.1.0 Setting Web Background Color
SupportCategory CategoryTemplates
TWiki version 5.1.0
Server OS Debian 6.0.3 (Squeeze)
Web server Apache Httpd 2.2.21
Perl version 5.10.1
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-11-27 - PeterThoeny
 
  • 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.