Tags:
create new tag
view all tags

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:

  • Set HEADER_BG = #99CCCC

-- 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>&lt;plugin&gt;_&lt;setting&gt;%==, 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
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2002-05-21 - TWikiAdmin
 
  • 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.