none
[openafs-wiki.git] / TWiki / TWikiPreferences.mdwn
1 **%WIKITOOLNAME% Site-Level Preferences**
2
3 The following settings are **_site-level preferences_** , e.g. affecting all users in all %WIKITOOLNAME% webs. These preferences can be overwritten by **_web preferences_** (topic [[WebPreferences]] in each %WIKITOOLNAME% web) and **_user preferences_** (your personal topic, i.e. [[TWikiGuest]] in the %WIKITOOLNAME%.Main web)
4
5 **_Preferences:_**
6
7 - List of %WIKITOOLNAME% webs: (the first line of a topic; to add a web see [[TWikiDocumentation]] and [[TWikiWebsTable]])
8   - Set WIKIWEBLIST = [%WIKITOOLNAME%](%WIKIHOMEURL%) . \{ [Main](http://www.dementia.org/twiki//view/Main/WebHome) | [TWiki](http://www.dementia.org/twiki//view/TWiki/WebHome) | [Know](http://www.dementia.org/twiki//view/Know/WebHome) | [Test](http://www.dementia.org/twiki//view/Test/WebHome) \}
9
10 - List of topics of a web: (the second line of a topic, is overwritten by web preferences)
11   - Set WEBTOPICLIST = %WEB% . \{ [Home](WebHome) | [Changes](WebChanges) | [Index](http://www.dementia.org/twiki//search/%WEB%/?scope=topic&regex=on&search=.*) | [Search](WebSearch) | Go <input name="topic" size="16" type="text" />
12  \}
13
14 - Copyright notice:
15   - Set WEBCOPYRIGHT = <font>Copyright © 2000 by the contributing authors. \\nAll material on this collaboration tool is the property of the contributing authors. <br /> \\nIdeas, requests, problems regarding %WIKITOOLNAME%? [Send](mailto:?subject=%WIKITOOLNAME% Feedback) feedback. </font>
16
17 - Wiki webmaster email address:
18   - Set WIKIWEBMASTER = <webmaster@your.company>
19
20 - Exclude web from a `web="all"` search: (Set to `on` for hidden webs; is overwritten by web preferences)
21   - Set NOSEARCHALL =
22
23 - Web specific background color: (is overwritten by web preferences)
24   - Set WEBBGCOLOR = #C0C0C0
25
26 - [[PreviewBackground]] image:
27   - Set PREVIEWBGIMAGE = ![previewbg.gif](http://www.dementia.org/twiki//view/TWiki/PreviewBackground/previewbg.gif)
28
29 - Background color of non existing topic: ( default `cornsilk` or `#FFFFCE` )
30   - Set NEWTOPICBGCOLOR = #FFFFCE
31
32 - Font color of non existing topic: ( default `#0000FF` )
33   - Set NEWTOPICFONTCOLOR = #0000FF
34
35 - Horizontal size of text edit box: (can be overwritten by user preferences)
36   - Set EDITBOXWIDTH = 70
37
38 - Vertical size of text edit box: (can be overwritten by user preferences)
39   - Set EDITBOXHEIGHT = 15
40
41 - Default state of the **_link_** check box in the attach file page. Check box is initially checked if _Set ATTACHLINKBOX = CHECKED_ , unchecked if empty ( _Set ATTACHLINKBOX =_ ). If checked, a link is created to the attached file at the end of the topic: (can be overwritten by user preferences)
42   - Set ATTACHLINKBOX =
43
44 - http-equiv meta tags for **_view_**, **_rdiff_**, **_attach_**, **_search\*_** scripts:
45   - Set HTTP\_EQUIV\_ON\_VIEW =
46
47 - http-equiv meta tags for **_edit_** script. Example to expire immediately: <br />`Set HTTP_EQUIV_ON_EDIT = <meta http-equiv="Expires" content="%GMTIME{"$day $month, $year - $hour:$min:$sec"}% GMT">`
48   - Set HTTP\_EQUIV\_ON\_EDIT =
49
50 - http-equiv meta tags for **_preview_** script:
51   - Set HTTP\_EQUIV\_ON\_PREVIEW =
52
53 - Users or groups allowed to change this %TOPIC% topic: (I.e. [[TWikiAdminGroup]])
54   - Set ALLOWTOPICCHANGE =
55
56 - Site-level preferences that are **not** allowed to be overridden by [[WebPreferences]] and user preferences:
57   - Set FINALPREFERENCES = WIKIWEBMASTER, PREVIEWBGIMAGE
58
59 **_Notes:_**
60
61 - A preference is defined as: <br />`6 spaces * Set NAME = value`<br /> Example:
62   - Set WEBBGCOLOR = #FFFFC0
63 - Preferences are used as [[TWikiVariables]] by enclosing the name in percent signs. Example:
64   - When you write variable `%WEBBGCOLOR%` , it gets expanded to `%WEBBGCOLOR%` .
65 - 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.
66 - You can introduce new variables and use them in your topics and templates. There is no need to change the %WIKITOOLNAME% engine (Perl scripts).
67
68 **_Related Topics:_**
69
70 - [[WebPreferences]] has preferences of the %WIKITOOLNAME%.%WEB% web.
71 - [[TWikiUsers]] has a list of user topics. User topics can have optional user preferences.
72 - [[TWikiVariables]] has a list of common `%VARIABLES%` .
73 - [[TWikiAccessControl]] explains how to restrict access by users or groups.