Difference: WebPreferences (r20 vs. r19)

Main Web Preferences

Main Web Preferences

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

Web Preferences Settings

  • Web specific background color: (Pick a lighter one of the StandardColors)
    • Set WEBBGCOLOR = #FFEFA6

These settings override the defaults for this web only. See full list of defaults with explanation.

  • List this Web settings: web in the SiteMap
    • Set WEBTOPICLIST = Users | Groups | Changes | Index | Search | Go
    • Set WEBBGCOLOR = #FFEFA6
    • Set SITEMAPWHAT = Welcome to TWiki... Users, Groups
    • Set SITEMAPUSETO = ...see who is registered on this TWiki
    • Set SITEMAPLIST = on
    :
    • If yes, Set SITEMAPLIST = on, and add the "what" and "use to..." description for the site map. Make sure to list only links that include the name of the web, e.g. Main.Topic links.
    • Set SITEMAPLIST = on
    • Set SITEMAPWHAT = Welcome to TWiki... Users, Groups, Offices - tour this expandable virtual workspace.
    • Set SITEMAPUSETO = ...get a first-hand feel for TWiki possibilities.
  • Exclude web from Default template for a web="all" new topics search: (Set to for this web: on for hidden webs)
    • Set NOSEARCHALL =
  • Prevent automatic linking Comma separated list of WikiWords forms and acronyms (if set that can be attached to topics in this web. See on TWikiForms ); link WikiWords for more information. (if empty); can be overwritten by web preferences:
    • Set NOAUTOLINK WEBFORMS = UserForm
    • Note: Use the [[...][...]] syntax to link topics in case you disabled WikiWord linking. The <noautolink> ... </noautolink> syntax can be used to prevents links within a block of text.
  • Default template for new Users or groups who topics and form(s) for this web: are not / are allowed to view / change / rename topics in the Main web: (See TWikiAccessControl ). Remove the # to enable any of these settings. Remember that an empty setting is a valid setting; setting DENYWEBVIEW to nothing means that anyone can view the web.
    • #Set DENYWEBVIEW =
    • #Set ALLOWWEBVIEW =
    • #Set DENYWEBCHANGE =
    • #Set ALLOWWEBCHANGE = TWikiAdminGroup
    • #Set DENYWEBRENAME =
    • #Set ALLOWWEBRENAME = TWikiAdminGroup
  • Users or groups who allowed to change or rename this WebPreferences topic: (e.g., are not TWikiAdminGroup / are allowed to view / change / rename topics in the Main web: (See TWikiAccessControl )
    • Set DENYWEBVIEW #Set ALLOWTOPICCHANGE = TWikiAdminGroup
    • Set ALLOWWEBVIEW ALLOWTOPICRENAME = TWikiAdminGroup
    • Set DENYWEBCHANGE =
    • Set ALLOWWEBCHANGE =
    • Set DENYWEBRENAME =
    • Set ALLOWWEBRENAME =
  • Users or groups allowed Web preferences that are to change or rename this WebPreferences topic: (I.e. TWikiAdminGroup not ) allowed to be overridden by user or topic preferences:
    • Set ALLOWTOPICCHANGE FINALPREFERENCES = NOSEARCHALL, ATTACHFILESIZELIMIT, WIKIWEBMASTER, WEBCOPYRIGHT, WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME
    • Set ALLOWTOPICRENAME = TWikiAdminGroup
  • Web preferences that are not allowed to be overridden by user preferences:
    • Set FINALPREFERENCES = NOSEARCHALL, ATTACHFILESIZELIMIT, WIKIWEBMASTER, WEBCOPYRIGHT, WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME

Help on Preferences

Notes:

  • A preference setting is defined by:
    3 or 6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • A preferences setting can be disabled with a # sign. Remove the # sign to enable a local customization. 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 your own preferences variables and use them in your topics and templates.
  • 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

Related Topics:

Rename, Move or Delete this Web

  • Note: The Main web cannot be renamed. See also: ManagingWebs

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