You are here: Foswiki>Hacklab Web>WebPreferences (02 Dec 2011, IvicaPetrinic)Edit Attach

Foswiki.Hacklab Web Preferences

The following settings are web preferences of the Foswiki.Hacklab web. These preferences overwrite the site-level preferences in DefaultPreferences, and can be overwritten by user preferences (your personal topic, i.e. WikiGuest in the Foswiki.Main web)

Preferences:

  • Set SKIN = pattern

  • List of topics of the Foswiki.Hacklab web:

  • Web specific background color: (Pick a lighter one of the StandardColors)
    • Set WEBBGCOLOR = #FFFFCC

  • List this web in the SiteMap:
    • If yes, set SITEMAPLIST to on, do not set NOSEARCHALL, and add the "what" and "use to..." description for the site map. Make sure to list only links that include the name of the web, e.g. Hacklab.Topic links.
    • Set SITEMAPLIST = on
    • Set SITEMAPWHAT = hacklabov insiderski web interface...
    • Set SITEMAPUSETO = ...za suradnju i zajednicke poslove u hacklabu

    • Set WEBLOGOIMG = logo.gif
    • Set WEBLOGOURL = WebHome
    • Set WEBLOGOALT = Povratak na pocetak

  • Exclude web from a web="all" search: (Set to on for hidden webs)
    • Set NOSEARCHALL =

  • Default template for new topics and form(s) for this web:

  • Users or groups who are not / are allowed to view / change / rename topics in the Hacklab web: (See AccessControl)
    • Set DENYWEBVIEW =
    • Set ALLOWWEBVIEW =
    • Set DENYWEBCHANGE = WikiGuest
    • Set ALLOWWEBCHANGE =
    • Set DENYWEBRENAME = WikiGuest
    • Set ALLOWWEBRENAME =

  • Web preferences that are not allowed to be overridden by user preferences:
    • Set FINALPREFERENCES = WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME

Notes:
  • A preference is defined as:
    6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • Preferences are used as Macros by enclosing the name in percent signs. Example:
    • When you write variable %WEBBGCOLOR% , it gets expanded to #FFFFCC .
  • The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set WEBCOPYRIGHT before WIKIWEBMASTER since %WEBCOPYRIGHT% uses the %WIKIWEBMASTER% variable.
  • You can introduce new preferences variables and use them in your topics and templates. There is no need to change the Foswiki engine (Perl scripts).

Related Topics:
  • DefaultPreferences has site-level preferences.
  • WikiUsers has a list of user topics. User topics can have optional user preferences.
  • Macros has a list of common %VARIABLES%.
  • AccessControl explains how to restrict access by users or groups.
Topic attachments
I Attachment Action Size Date Who Comment
favicon.icoico favicon.ico manage 3 K 10 Oct 2006 - 21:38 IvicaPetrinic  
logo.gifgif logo.gif manage 6 K 02 Dec 2011 - 09:25 IvicaPetrinic fazan logo
Topic revision: r15 - 02 Dec 2011, IvicaPetrinic
Hacklab inside: ToDo lista  |  Volonteri  |  Vijesti, fotke, etc  |  Projekti  |  Ideje

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