You are here: Main Web>WebPreferences (03 Nov 2010)

Main Web Preferences

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

SPH Changes

  • Set ATTACHFILESIZELIMIT = 64000
  • Set ACTIONTRACKERPLUGIN_TABLEHEADER = | Topic | Assigned to | Due date | Description | State | Notify ||
  • Set ACTIONTRACKERPLUGIN_TABLEFORMAT = | $topic | $who | $due | $text $link | $state | $notify | $edit |

Web Preferences Settings

  • Set WEBLOGONAME = tessaract_small.jpg
  • Set WEBLOGOIMG = /pub/Main/WebPreferences/tessaract_small.jpg
  • Set WEBLOGOURL = /bin/view/Main/WebHome
  • Set WEBLOGOALT = "The Hurrells"
These settings override the defaults for this web only. See full list of defaults with explanation.

  • Set SKIN = foswikisite,pattern
    • Global skin styles. To change the look of the site, point these variables to custom CSS attachments.
      • Set FOSWIKI_LAYOUT_URL = /pub/System/FoswikiSiteSkin/layout.css
      • Set FOSWIKI_STYLE_URL = /pub/System/FoswikiSiteSkin/style.css
      • Set FOSWIKI_COLORS_URL = /pub/System/FoswikiSiteSkin/colors.css

  • Overriding styles that add upon the global and theme styles. Enabled by default but empty to prevent browsers from fetching %USERLAYOUTURL%-style URLs.
    • Set USERLAYOUTURL =
    • Set USERSTYLEURL =
    • Set USERCOLORSURL =
    • Set WEBHEADERART =
    • Set WEBHEADERBGCOLOR =
    • Set PATTERNSKIN_THEME =
    • Set PATTERNSKIN_COLUMNS =

  • Web settings:
    • Set WEBTOPICLIST = Users  |  Groups  |  Changes  |  Index  |  Search  |  Go
    • Set WEBBGCOLOR = #FFEFA6
    • Set SITEMAPWHAT = Welcome to Foswiki... Users, Groups
    • Set SITEMAPUSETO = ...see who is registered on this site
    • 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)
    • System.WebTopicEditTemplate: Site-level default topic template

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

  • Users or groups who are not / are allowed to view / change / rename topics in the Main web: (See AccessControl). 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 =

  • Users or groups allowed to change or rename this WebPreferences topic: (e.g., AdminGroup)

  • 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 lets you define a simple macro? that can be expanded in your output.
  • A preference setting looks like this:
    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:
  • Macros defined using preference settings are expanded by enclosing the name in percent signs. Example:
    • When you write %WEBBGCOLOR%, it gets expanded to #FFEFA6
  • The sequential order of the preference settings is significant. i.e. set WEBCOPYRIGHT before WIKIWEBMASTER since %WEBCOPYRIGHT% uses the %WIKIWEBMASTER% setting.
  • You can introduce your own preference settings and use them in your topics and templates.
  • Preferences can be defined in a number of places:
    1. DefaultPreferences
    2. SitePreferences
    3. Parent webs WebPreferences
    4. WebPreferences
    5. In user topics
    6. In Plugin documentation topics
    7. In topics
  • Preference settings can be finalised, which means they can't be redefined

Tools

Related Topics

Topic attachments
I Attachment Action Size Date Who Comment
pngpng The_Hurrells.png manage 20.9 K 21 Jul 2010 - 20:14 StephenHurrell The Hurrells
pngpng The_Hurrells_small.png manage 9.1 K 21 Jul 2010 - 22:14 StephenHurrell The Hurrells Small
gifgif transluc_blue.gif manage 8.5 K 28 Oct 2010 - 18:41 StephenHurrell Transluc.gif
jpgjpg transluc_blue_small.jpg manage 14.9 K 03 Nov 2010 - 17:37 StephenHurrell Trasluc Blue 180x120
Topic revision: r9 - 03 Nov 2010 - 17:38:11 - StephenHurrell
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback