SID-01327: TWiki 5.1.0 Setting Web Background Color
| Status: |
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
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.