You are here: Main Web>SitePreferences (20 Jul 2009)

Local customisations of site-wide preferences

info Site-level preferences are located in System.Default Preferences, however this Main.Site Preferences prefs topic has override priority and should be used for local customisations. This allows for easier upgrades as you don't need to worry about the shipped preferences clobbering yours. It's easier to keep a handle on if you only copy over the settings you actually change.

Quick edit of existing preferences (edit the topic text to set new preferences)

The following set the Foswiki Site Skin as the default one:

  • 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 = /ucm/pub/System/FoswikiSiteSkin/layout.css
    • Set FOSWIKI_STYLE_URL = /ucm/pub/System/FoswikiSiteSkin/style.css
    • Set FOSWIKI_COLORS_URL = /ucm/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 =

  • Set TABLEPLUGIN_TABLEATTRIBUTES = tableborder="1" cellpadding="0" cellspacing="0" valign="top" headercolor="#444444" headerbg="#e0e0e4" headerbgsorted="#c5c5cc" databg="#ffffff,#edf4f9" databgsorted="#f1f7fc,#ddebf6" tablerules="rows"

  • FINALPREFERENCES locks site-level preferences that are not allowed to be overridden by Web Preferences or user preferences:
    • Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, USERSWEB, SYSTEMWEB, DOCWEB
Topic revision: r5 - 20 Jul 2009 - 23:19:46 - Jacques Sincennes
 
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