
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:
- SUMMARY box - %SUMMARY% and %ENDSUMMARY% variables to create a highlighted box. Nice for summarizing a topic.
* SUMMARY
* Set SUMMARY = <table border="1" align=center width=80% bgcolor="#CCFFFF"><tr><td><b>
* Set ENDSUMMARY = </td></tr></table>
* TOP
* Set TOP = <font size=-1> _[[%INCLUDINGWEB%.%INCLUDINGTOPIC%#PageTop][Return to top of page]]_ </font>
This is an example of SUMMARY box formatting.
|
- Return to topc - %TOP% creates a small, quick-link back to the top of any page. Here's what it looks like:
Return to top of page
- TEMPLWEB variable for identifying which web holds topic templates
* Set STARTSIDEBAR = <div style="float:right;width:30%;border:2px dotted %WEBBGCOLOR%;padding:1em;margin:0.5em;">
* Set STOPSIDEBAR = </div>
Appearance
Customize logo and tooltip texts:
Give your site a specific name:
- Set WIKITOOLNAME = Skyloom Wiki
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
Skin Settings
- Set SKIN = nat
- #Set NATSKIN_LAYOUT = bordered
- Set NATSKIN_SIDEBAR = off
Finalisation
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