Difference: WebPreferences (1 vs. 2)

Revision 22000-08-19 - PeterThoeny

Line: 1 to 1
 TWiki.Main Web Preferences
Changed:
<
<
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)
>
>
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. TWikiGuest in the TWiki.Main web)
  Preferences:

  • List of topics of the TWiki.Main web:
    • Set WEBTOPICLIST = Main . { Home
Changed:
<
<
| Welcome | Users | Changes | Index
>
>
| Users | Offices | Changes | Index
  | Search | Go }
Line: 18 to 19
 
  • Web specific background color:
    • Set WEBBGCOLOR = #FFFFC0
Added:
>
>
  • Exclude web from a web="all" search: (Set to on for hidden webs)
    • Set NOSEARCHALL =
 Notes:
  • A preference is defined as:
    6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
Changed:
<
<
  • Preferences are used as TWikiVariables by enclosing the name in percent signs. Example:
>
>
  • 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:

Changed:
<
<
>
>
 
  • TWikiUsers has a list of user topics. User topics can have optional user preferences.
Changed:
<
<
>
>

Revision 12000-02-26 - PeterThoeny

Line: 1 to 1
Added:
>
>
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:

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback