Question
How do I set the
global HEADER_BG in
TablePlugin?
I have tried setting it in the
TablePlugin topic itself, I have tried in
WebPreferences -- but I can't seem to get it to work.
Any ideas?
- TWiki version:
- Web server: Apache
- Server OS: Solaris
- Web browser: IE
- Client OS: NT
--
TWikiGuest - 07 Feb 2002
Answer
This is a plugin setting in the
TablePlugin topic, i.e. write:
--
PeterThoeny - 10 Feb 2002
Follow up
I tried that. Didn't have any luck. Any idea why it doesn't take?
--
Just an idea - check there are no spaces after the colour value in the Set line. Also, put in some
writeDebug calls around where it is picking up the value from the Plugin page, to see what it is getting.
--
RichardDonkin - 11 Feb 2002
Thanks, but no luck. Here's the info... I have tried red and #FFF
without any luck.
---++ <nop>%TOPIC% Global Settings
Plugin settings are stored as preferences variables. To reference
a plugin setting write ==%<nop><plugin>_<setting>%==, for example, ==%<nop>INTERWILDPLUGIN_SHORTDESCRIPTION%==
* One line description, shown in the %WILDMANWEB%.TextFormattingRules topic:
* Set SHORTDESCRIPTION = Control attributes of tables and sorting of table columns
* Set DEBUG to 1 to get debug messages in =data/debug.txt=. Default: =0=
* Set DEBUG = 0
* Table border width. Default: 1
* Set TABLEBORDER = 1
* Table cell padding. Default: 0
* Set CELLPADDING = 0
* Table cell spacing. Default: 1
* Set CELLSPACING = 1
* Color for header cells ('*'s around text). Default: <span style="background : #99CCCC;">#99CCCC</span>
* Set HEADER_BG = red
* Background color for table rows, two alternate colors. Default: <span style="background : #FFFFCC;">#FFFFCC</span>,<span style="background : #FFFFFF;">#FFFFFF</span>
* Set DATA_BG = #FFFFCC,#FFFFFF
* Make sortable:
* #Set SORT = attachments
* Set SORT = all
* #Set SORT = none