
Foswiki's default preferences are located in
DefaultPreferences, however settings defined here have override priority and should be used for local customisations.
Custom Site Preferences
- TEMPLWEB variable for identifying which web holds topic templates
- Set HELP_BACKGROUND_COLOR = #E0B9A6
- Set TCAOWEB = TCAO
- Set sidebar style:
* Set STARTSIDEBAR = <div style="position:relative;float:right;width:30%;background-color:white;border:2px dotted %WEBBGCOLOR%;padding:1em;margin:0.5em;display:inline;">
* Set STOPSIDEBAR = </div>
- Insert a page break when printing:
Application Macros
* Set B = <b>%DEFAULT%</b>
* Set Q = %IF{"istopic '%BASEWEB%.%DEFAULT%'" then="<div style='display:inline-block' class='quickView' title='$percntENCODE{\"$percentQUERY{\"'%BASEWEB%.%DEFAULT%'/Summary\"}$percent\" type=\"safe\"}$percnt' data-target='%BASEWEB%.%DEFAULT%'><a href='%SCRIPTURL{view}%/Applications/LocalApps/RenderQuickReference?skin=text§ion=dialog&target=%BASEWEB%.%DEFAULT%' class='jqUIDialogLink' >%DBQUERY{topic="%BASEWEB%.%DEFAULT%" format="$expand(TopicTitle or topic)"}%</a></div>" else="<nop>%DEFAULT%"}%
Checkbox macro:
* Set CB = <input type='checkbox' name='%DEFAULT{default=""}%' value='1' >%DEFAULT{default=""}%
Customize logo and tooltip texts:
Give your site a specific name:
- Set WIKITOOLNAME = Middle Fork Home Wiki
- Home page of this site
- Set WIKIHOMEURL = /bin/view/
Skin Settings
- Set SKIN = nat
- Set NATSKIN_LAYOUT = bordered
- #Set NATSKIN_SIDEBAR = off
Customize your
favicon:
- Set FAVICON = /pub/System/ProjectLogos/favicon.ico
Customize your top bar background image and color
- Set WEBHEADERART = /pub/System/PatternSkin/header5.gif
- Set WEBHEADERBGCOLOR = #ffffff
- Maximum size of FileAttachments in KB, 0 for no limit:
- Set ATTACHFILESIZELIMIT = 0
Universal permissions
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, DOCWEB, WIKIWEBMASTER, WIKIWEBMASTERNAME, WIKIAGENTEMAIL, WIKIAGENTNAME