r23 - 01 Mar 2007 - 06:32:13 - TWikiContributor? You are here: TWiki >  Main Web > WebPreferences

Main Web Preferences

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

Web Preferences Settings

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

  • Web settings:
    • 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

  • Default template for new topics for this web:
    • WebTopicEditTemplate? : Default template for new topics in this web. (Site-level is used if topic does not exist)
    • TWiki.WebTopicEditTemplate: Site-level default topic template

  • Comma separated list of forms that can be attached to topics in this web. See TWikiForms for more information.

  • Users or groups who 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 =
    • Set DENYWEBRENAME =
    • Set ALLOWWEBRENAME =

  • Web preferences that are not allowed to be overridden by 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 customisation. Example:
    • #Set DENYWEBCHANGE = UnknownUser?
  • 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

Tools

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r23 < r22 < r21 < r20 < r19 | More topic actions

tip TWiki Tip of the Day
%CALC{$SET(webtopic, $LISTRAND(TWikiTip001, TWikiTip002, TWikiTip003, TWikiTip004, TWikiTip005, TWikiTip006, TWikiTip007, TWikiTip008, TWikiTip009, TWikiTip010, TWikiTip011, TWikiTip012, TWikiTip013, TWikiTip014, TWikiTip015, TWikiTip016, TWikiTip017, TWikiTip018, TWikiTip019, TWikiTip020, TWikiTip021, TWikiTip022, TWikiTip023, TWikiTip024, TWikiTip025, TWikiTip026, TWikiTip027, TWikiTip028, TWikiTip029))$SET(pos, $FIND(., $GET(webtopic)))$SET(web, $REPLACE($GET(webtopic), $GET(pos), 100))$SET(topic, $REPLACE($GET(webtopic), 1, $GET(pos)))}% %CALC{$NOP(%)SEARCH{ \"^$GET(topic)$\" web=\"$GET(web)\" scope="topic" regex="on" nosearch=\"on\" noheader=\"on\" nototal=\"on\" limit=\"1\" format=\"[[http://xdv.org/twiki/bin/view/$web/$topic][$pattern(.*?\-\-\-\+([^\n\r]+).*)]]
$summary(100, noheader) Read on \\"Read\"}$NOP(%)}%

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