Rockbox.org home
releases
current build
extras manual
wiki
index mailing lists
IRC
forums bugs
patches
 requests



TWiki > Main > WebPreferences
Main . { Users | Groups | Changes | Index | Search | Go }

Main Web Preferences

The following settings are web preferences of the Main web. These preferences overwrite the site-level preferences in TWiki.TWikiPreferences and Main.TWikiPreferences, and can be overwritten by user preferences (your personal topic, eg: TWikiGuest in the Main web).

Web Preferences Settings

These settings override the defaults for this web only. See full list of defaults with explanation.

  • Web settings:
    • Set WEBTOPICLIST = Users | Groups | Changes | Index | Search | Go
    • Set WEBBGCOLOR = #d6e6f5
    • Set SITEMAPWHAT = Welcome to TWiki... Users, Groups
    • Set SITEMAPUSETO = ...see who is registered on this TWiki
    • Set SITEMAPLIST = on

  • Default template for new topics for this web:
    • WebTopicEditTemplate?: Default template for new topics in this web. (Site-level is used if topic does not exist)
    • TWiki.WebTopicEditTemplate: Site-level default topic template

  • Comma separated list of forms that can be attached to topics in this web. See TWikiForms for more information.

  • Users or groups who are not / are allowed to view / change / rename topics in the Main web: (See TWikiAccessControl). Remove the # to enable any of these settings. Remember that an empty setting is a valid setting; setting DENYWEBVIEW to nothing means that anyone can view the web.

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

Skin Settings

  • Skin overriding the default TWiki templates: (can be overwritten by WebPreferences and user preferences)
    • Set SKIN = rockbox

Help on Preferences

  • A preference setting is defined by:
    3 or 6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • A preferences setting can be disabled with a # sign. Remove the # sign to enable a local customisation. Example:
  • Preferences are used as TWikiVariables by enclosing the name in percent signs. Example:
    • When you write variable %WEBBGCOLOR% , it gets expanded to #d6e6f5
  • 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 your own preferences variables and use them in your topics and templates.

Related Topics

Tools

Attachment Action Size Date Who Comment
gif logo.gif manage 2.5 K 11 Jul 2006 - 21:12 UnknownUser  
bmp favicon.ico manage 1.4 K 25 Sep 2007 - 08:10 BjornStenberg Rockbox favicon

r28 - 25 Sep 2007 - 08:10:52 - BjornStenberg
Edit | View raw | Attach | Ref-By | History: r28 < r27 < r26 < r25 < r24 | More | Refresh cache

Parents: WebHome

Copyright © 1999-2008 by the contributing authors.