You are here: Wiki>Contest Web>WebPreferences (30 May 2010, uibyo)Edit

Wiki.Contest Web Preferences

The following settings are web preferences of the Wiki.Contest 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 Wiki.Main web)

Preferences:

    • Set SERVICENAVI =
    • Set LOGOS =
    • Set NAVIGATIONINFO =

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

  • List this web in the SiteMap:
    • If yes, Set SITEMAPLIST = on, 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. Contest.Topic links.
    • Set SITEMAPLIST =
    • Set SITEMAPWHAT = Place holder for trashed topics and attachments.
    • Set SITEMAPUSETO =
    • Set SKIN = CD2005
    • Set TWIKILAYOUTURL =
    • Set TWIKISTYLEURL = http://www.inf.fu-berlin.de/wiki/pub/Main/FubSkin/default.css

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

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

  • Users or groups allowed to change or rename this WebPreferences topic: (I.e. AdminGroup)
    • Set ALLOWTOPICCHANGE =
    • Set ALLOWTOPICRENAME =

  • 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 System.Macros by enclosing the name in percent signs. Example:
    • When you write variable %WEBBGCOLOR% , it gets expanded to #FF0099 .
  • 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 Wiki engine (Perl scripts).

Related Topics:
  • DefaultPreferences has site-level preferences.
  • WikiUsers has a list of user topics. User topics can have optional user preferences.
  • System.Macros has a list of common %VARIABLES%.
  • AccessControl explains how to restrict access by users or groups.
  • icpc_logo_big.jpg:

Topic revision: r21 - 30 May 2010, uibyo
 
  • Printable version of this topic (p) Printable version of this topic (p)