Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < | TWiki Variables | |||||||
> > | TWiki VariablesText strings expanded on the fly include predefined, preference-driven and custom-defined dataOverview | |||||||
TWikiVariables are text strings enclosed in percentage signs: % that represent stored data. When a topic is rendered for viewing, defined variables are replaced by their actual values. TWiki has two types of variable, predefined and Preference-based, where usually you determine the content. Through Preference variables, you can also define custom variables, creating new variable name and value. TWiki variables are as simple to use as they are powerful, and vice versa! | ||||||||
Changed: | ||||||||
< < | Predefined Variables | |||||||
> > | Predefined Variables | |||||||
With a couple of notable exceptions, predefined variables return set values that are defined one-time on installation and left alone. Most are directory names and file paths, customized for your server, and only have to be updated once in the main configuration file if your server set-up changes. | ||||||||
Line: 214 to 218 | ||||||||
[2] Note: A web can be excluded from a web="all" search if you define a NOSEARCHALL=on variable in its WebPreferences.
| ||||||||
Changed: | ||||||||
< < | Preferences Variables | |||||||
> > | Preferences Variables | |||||||
Additional variables are defined in the preferences ( site-level ( SL ) in TWikiPreferences, web-level ( WL ) in WebPreferences of each web, and user level ( UL ) preferences in individual user topics): | ||||||||
Line: 324 to 328 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Setting Preferences | |||||||
> > | Setting Preferences | |||||||
| ||||||||
Changed: | ||||||||
< < | Creating Custom Variables | |||||||
> > | Creating Custom Variables | |||||||
|