Main Web Preferences

The following settings are web preferences of the Main web. These preferences override the site-level preferences in TWikiPreferences and TWikiPreferences, and can be overwritten by user preferences (your personal topic, such as TWikiGuest in the Main web). These web preferences can be overridden by topic preferences, e.g. preferences in individual topics.

Web Preferences Settings

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

  • Default template for new topics in this web:
    • WebTopicEditTemplate: Site-level default topic template (if it exists, it overides the system-level template)
    • WebTopicEditTemplate: System-level default topic template (do not modify! Create a site-level template in this web instead)

Access Control and Security

  • Users or groups who are not / are allowed to view / change / rename topics in the Main web: (See TWikiAccessControl).
    • Set DENYWEBVIEW =
    • Set ALLOWWEBVIEW =
    • Set DENYWEBCHANGE = CwikiGast
    • Set ALLOWWEBCHANGE =
    • Set DENYWEBRENAME = CwikiGast
    • Set ALLOWWEBRENAME =
  • TIP Note: If you restrict access to this web, make sure to add the TWikiRegistrationAgent so that users can register.

  • Web preferences that are not allowed to be overridden by sub-web, user or topic preferences:
    • Set FINALPREFERENCES = NOSEARCHALL, ATTACHFILESIZELIMIT, WIKIWEBMASTER, WEBCOPYRIGHT, WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME

Help on Preferences

  • 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.

Related Topics

Rename, Move or Delete this Web

  • Note: The Main web cannot be renamed. See also: ManagingWebs
Topic revision: r33 - 2013-11-04 - PeterSykora