Difference: WebPreferences (r11 vs. r10)

r11 - 18 Sep 2001 - 06:41 - PeterThoeny? r10 - 09 Sep 2001 - 08:20 - PeterThoeny?

Foswiki.Main Web Preferences

Foswiki.Main Web Preferences

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

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

Preferences:

Preferences:

  • Web specific background color: (Pick a lighter one of the StandardColors)
    • Set WEBBGCOLOR = #FFFFC0
  • Web specific background color: (Pick a lighter one of the StandardColors)
    • Set WEBBGCOLOR = #FFFFC0
  • Exclude web from a web="all" search: (Set to on for hidden webs)
    • Set NOSEARCHALL =
  • Exclude web from a web="all" search: (Set to on for hidden webs)
    • Set NOSEARCHALL =
  
  • Default template for new topics and form(s) for this web:
  • Default template for new topics and form(s) for this web:
    • WebTopicEditTemplate: Default template for new topics in this web. (Site-level is used if topic does not exist)
    • WebTopicEditTemplate: Site-level default template
    • TWikiFormTemplate?: How to enable form(s)
    • Set WEBFORMS =
  • Users or groups who are not / are allowed to view / change / rename topics in the Main web: (See AccessControl)
    • Set DENYWEBVIEW =
    • Set ALLOWWEBVIEW =
    • Set DENYWEBCHANGE =
    • Set ALLOWWEBCHANGE =
    • Set DENYWEBRENAME =
    • Set ALLOWWEBRENAME =
  • Users or groups who are not / are allowed to view / change / rename topics in the Main web: (See AccessControl)
    • Set DENYWEBVIEW =
    • Set ALLOWWEBVIEW =
    • Set DENYWEBCHANGE =
    • Set ALLOWWEBCHANGE =
    • Set DENYWEBRENAME =
    • Set ALLOWWEBRENAME =
  • Users or groups allowed to change or rename this WebPreferences topic: (I.e. AdminGroup)
    • Set ALLOWTOPICCHANGE =
    • Set ALLOWTOPICRENAME =
  • Users or groups allowed to change or rename this WebPreferences topic: (I.e. AdminGroup)
    • Set ALLOWTOPICCHANGE =
    • Set ALLOWTOPICRENAME =
  • Web preferences that are not allowed to be overridden by user preferences:
    • Set FINALPREFERENCES = WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME
  • Web preferences that are not allowed to be overridden by user preferences:
    • Set FINALPREFERENCES = WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME

Notes:

Notes:

  • A preference is defined as:
    6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • Preferences are used as 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).
  • A preference is defined as:
    6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • Preferences are used as 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:

Related Topics:

  • DefaultPreferences has site-level preferences.
  • WikiUsers has a list of user topics. User topics can have optional user preferences.
  • Macros has a list of common %VARIABLES%.
  • AccessControl explains how to restrict access by users or groups.
  • DefaultPreferences has site-level preferences.
  • WikiUsers has a list of user topics. User topics can have optional user preferences.
  • Macros has a list of common %VARIABLES%.
  • AccessControl explains how to restrict access by users or groups.
r11 - 18 Sep 2001 - 06:41 - PeterThoeny? r10 - 09 Sep 2001 - 08:20 - PeterThoeny?

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