You are here: Main Web>SitePreferences (14 Aug 2009)

Local customisations of site-wide preferences

info Site-level preferences are located in System.DefaultPreferences, however this Main.SitePreferences 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)

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

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

  • Set BROADCASTMESSAGE =

  • Overriding logos and favourite icon
    • Set FAVICON = /pub/Main/SitePreferences/favicon.ico
    • Set WEBLOGOIMG = /pub/Main/SitePreferences/linux-arm-org.png
    • Set WEBLOGOURL = http://www.linux-arm.org/
    • Set WEBLOGOALT = Linux on ARM Wiki

  • FINALPREFERENCES locks site-level preferences that are not allowed to be overridden by WebPreferences or user preferences:
    • Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, USERSWEB, SYSTEMWEB, DOCWEB, BROADCASTMESSAGE
Topic revision: r3 - 14 Aug 2009 - 19:57:48 - HoomiC
 
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
This page took 14.82 joules of energy to render (zen6 : 1.46 secs : 1 sessions : 0.85 amps) More Info