You are here: Wiki>Main Web>SitePreferences (02 Apr 2013, BodoRiedigerKlaus)Edit

SitePreferences

help Foswiki's default preferences are located in System.DefaultPreferences, however settings defined here have override priority and should be used for local customisations.

Appearance

Customize logo and tooltip texts:

Give your site a specific name:

  • Set WIKITOOLNAME = Wiki

Customize your favicon:

  • Set FAVICON = /wiki/pub/System/FuBerlinSkin/favicon.ico

Customize your top bar background image and color
  • Set WEBHEADERART =
  • Set WEBHEADERBGCOLOR = #ffffff

FU-Berlin Layout

Global skin styles. To change the look of the site, point these variables to custom CSS attachments.
  • Set FOSWIKI_LAYOUT_URL = /wiki/pub/System/FuBerlinSkin/layout.css
  • Set FOSWIKI_STYLE_URL = /wiki/pub/System/FuBerlinSkin/style.css
  • Set FOSWIKI_COLORS_URL = /wiki/pub/System/FuBerlinSkin/colors.css
Themes that add upon the global skin styles. (For System.WebTopBar e.g. height.)
  • Set PATTERNSKIN_THEME_VARIANT = /wiki/pub/System/FuBerlinSkin/variant_foswiki_noframe_fu.css
Overriding styles that add upon the global and theme styles. Enabled by default but empty to prevent browsers from fetching %<nop>USERLAYOUTURL%-style URLs.
  • Set USERLAYOUTURL = /wiki/pub/System/FuBerlinSkin/fonts.css
  • Set USERSTYLEURL =
  • Set USERCOLORSURL =

Input for custom Fu Berlin leftbar (FubLeftBar) Customize Pattern-View (e.g. right-bar aka NEWSTOPIC)
  • Set COVER = fuskin
Turn on/off the onload Focus "search" field of WebSearch
  • Set FU_WEBSEARCHFOCUS = off
Turn on/off the "create PersonalSideBar" field in WebLeftBar
  • Set FU_PERSONALSIDEBAR = off
Wysiwig kann Formate zerstören deshalb default auf Aus, in einem Web kann man es wieder anschalten.
  • Set NOWYSIWYG = 1

Monospaced Font for all EDITBOXes
  • Set EDITBOXSTYLEx = width: 99%; font-family: monaco, monospace; font-size: 110%; font-weight: 800;
  • Set EDITBOXSTYLE = width: 99%; font-family: monaco, monospace;
  • Set EDITBOXSTYLEy = width: 99%; font-family: monaco, monospace; font-weight: 800;

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, USERSWEB, SYSTEMWEB, DOCWEB, WIKILOGOIMG, WEBLOGOIMG, SKIN

Topic revision: r13 - 02 Apr 2013, BodoRiedigerKlaus
 
  • Printable version of this topic (p) Printable version of this topic (p)