TWiki> Main Web>WebPreferences (revision 1)EditAttach
TWiki.Main Web Preferences

The following settings are web preferences of the TWiki.Main web. These preferences overwrite the site-level preferences in TWikiPreferences, and can be overwritten by user preferences (your personal topic, i.e. PeterThoeny in the TWiki.Main web)

Preferences:

  • Web specific background color:
    • Set WEBBGCOLOR = #FFFFC0

Notes:

  • A preference is defined as:
    6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • Preferences are used as TWikiVariables? by enclosing the name in percent signs. Example:
    • When you write variable %WEBBGCOLOR% , it gets expanded to #FFEFA6 .
  • The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set WEBCOPYRIGHT before WIKIWEBMASTER since %WEBCOPYRIGHT% uses the %WIKIWEBMASTER% variable.
  • You can introduce new preferences variables and use them in your topics and templates. There is no need to change the TWiki engine (Perl scripts).

Related Topics:

  • TWikiPreferences has site-level preferences.
  • TWikiUsers has a list of user topics. User topics can have optional user preferences.
  • TWikiVariables? has a list of common %VARIABLES% .
Edit | Attach | Print version | History: r26 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 26 Feb 2000 - 06:50:35 - PeterThoeny
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback