Archived Page
This page is no longer maintained.
For up-to-date information please see the
new website
TWiki.Main Web Preferences
The following settings are web preferences of the TWiki.Main web. These preferences overwrite the site-level preferences in TWikiPreferences, and can be overwritten by user preferences (your personal topic, i.e. TWikiGuest in the TWiki.Main web) Preferences:- List of topics of the TWiki.Main web:
- Set WEBTOPICLIST = Home Page Contact Newsletter Forum Planning Taplow Diary Local Information Links For Members
- Set OLDWEBTOPICLIST = Home Page Contact Newsletter Forum Planning Taplow Diary Local Information Recent changes Search Links Register For Members
- Web specific background color: (Pick a lighter one of the StandardColors)
- Set WEBBGCOLOR = #FFFFC0
- 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. Main.Topic links. - Set SITEMAPLIST = on
- Set SITEMAPWHAT = Welcome to TWiki... Users, Groups
- Set SITEMAPUSETO = ...see admin data for this TWiki.
- If yes, Set SITEMAPLIST =
- Exclude web from a
web="all"
search: (Set toon
for hidden webs)- Set NOSEARCHALL =
- Default template for new topics and form(s) 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 template
- TWikiForms: How to enable form(s)
- Set WEBFORMS =
- Users or groups who are not / are allowed to view / change / rename topics in the Main web: (See TWikiAccessControl)
- 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. TWikiAdminGroup)
- Set ALLOWTOPICCHANGE = TWikiAdminGroup
- Set ALLOWTOPICRENAME = TWikiAdminGroup
- Web preferences that are not allowed to be overridden by user preferences:
- Set FINALPREFERENCES = WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME
- A preference is defined as:
6 spaces * Set NAME = value
Example:- Set WEBBGCOLOR = #FFFFC0
- Preferences are used as TWikiVariables by enclosing the name in percent signs. Example:
- When you write variable
%WEBBGCOLOR%
, it gets expanded to#FFFFC0
.
- When you write variable
- The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set
WEBCOPYRIGHT
beforeWIKIWEBMASTER
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 TWiki engine (Perl scripts).
- TWikiPreferences has site-level preferences.
- TWikiUsers has a list of user topics. User topics can have optional user preferences.
- TWikiVariables has a list of common
%VARIABLES%
. - TWikiAccessControl explains how to restrict access by users or groups.