Difference: WebPreferences (r2 vs. r1)

Foswiki.Main Web Preferences

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

Preferences:

  • Web specific background color:
    • Set WEBBGCOLOR = #FFFFC0
  • 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
  • Preferences are used as TWikiVariables?Macros 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 Foswiki engine (Perl scripts).

Related Topics:

  • DefaultPreferences?DefaultPreferences has site-level preferences.
  • WikiUsers has a list of user topics. User topics can have optional user preferences.
  • TWikiVariables?Macros has a list of common %VARIABLES% .

 
Das Urheberrecht © liegt bei den mitwirkenden Autoren. Alle Inhalte dieser Kollaborations-Plattform sind Eigentum der Autoren.