summaryrefslogtreecommitdiff
path: root/TWiki/WebPreferences.mdwn
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2000-08-18 06:12:10 +0000
committerPeter Thoeny <web-hurd@gnu.org>2000-08-18 06:12:10 +0000
commit6e098e1201dbedfd0fa228667f3a7881305d476d (patch)
tree26c6c5d2e118e17ddd66921e14af5926e5f8555e /TWiki/WebPreferences.mdwn
parentfdc07725920db5f154b0a7383f72ad7519d6986c (diff)
none
Diffstat (limited to 'TWiki/WebPreferences.mdwn')
-rw-r--r--TWiki/WebPreferences.mdwn30
1 files changed, 30 insertions, 0 deletions
diff --git a/TWiki/WebPreferences.mdwn b/TWiki/WebPreferences.mdwn
new file mode 100644
index 00000000..7fab7e2e
--- /dev/null
+++ b/TWiki/WebPreferences.mdwn
@@ -0,0 +1,30 @@
+**%WIKITOOLNAME%.%WEB% Web Preferences**
+
+The following settings are **_web preferences_** of the %WIKITOOLNAME%.%WEB% web. These preferences overwrite the **_site-level preferences_** in %TWIKIWEB%.%WIKIPREFSTOPIC%, and can be overwritten by **_user preferences_** (your personal topic, i.e. %MAINWEB%.TWikiGuest in the %WIKITOOLNAME%.%MAINWEB% web)
+
+**_Preferences:_**
+
+* List of topics of the %WIKITOOLNAME%.%WEB% web:
+ * Set WEBTOPICLIST = %WEB% . \{ [Home](%HOMETOPIC%) | [Welcome](WelcomeGuest) | [Register](TWikiRegistration) | [Changes](WebChanges) | [Index](WebIndex) | [Search](WebSearch) | Go <input name="topic" size="16" type="text" />
+ \}
+
+* Web specific background color:
+ * Set WEBBGCOLOR = #FFE0B0
+
+* Exclude web from a `web="all"` search: (Set to `on` for hidden webs)
+ * Set NOSEARCHALL =
+
+**_Notes:_**
+
+* A preference is defined as: <br />`6 spaces * Set NAME = value`<br /> Example:
+ * Set WEBBGCOLOR = #FFFFC0
+* Preferences are used as %TWIKIWEB%.TWikiVariables by enclosing the name in percent signs. Example:
+ * When you write variable <code>%WEBBGCOLOR%</code> , it gets expanded to `%WEBBGCOLOR%` .
+* The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set <code>WEBCOPYRIGHT</code> before <code>WIKIWEBMASTER</code> since <code>%WEBCOPYRIGHT%</code> uses the <code>%WIKIWEBMASTER%</code> variable.
+* You can introduce new preferences variables and use them in your topics and templates. There is no need to change the %WIKITOOLNAME% engine (Perl scripts).
+
+**_Related Topics:_**
+
+* %TWIKIWEB%.%WIKIPREFSTOPIC% has site-level preferences.
+* %MAINWEB%.%WIKIUSERSTOPIC% has a list of user topics. User topics can have optional user preferences.
+* %TWIKIWEB%.TWikiVariables has a list of common <code>%VARIABLES%</code> .