Difference: TWikiVariables (12 vs. 13)

Revision 1310 Nov 2000 - PeterThoeny

Line: 1 to 1
Changed:
<
<
TWiki expands the following variables enclosed in % percent signs:
>
>
TWiki expands the following variables enclosed in % percent signs:
 
Variable: Expanded to:
%WIKIHOMEURL%
Changed:
<
<
The base script URL of TWiki, link of Home icon in upper left corner, is /twiki/bin/view
>
>
The base script URL of TWiki, is the link of the Home icon in the upper left corner, is /twiki/bin/view
 
%SCRIPTURL%
Changed:
<
<
The script URL of TWiki, is http://www.twiki.ufba.br/twiki/bin
>
>
The script URL of TWiki, is http://www.twiki.ufba.br/twiki/bin
 
%SCRIPTURLPATH%
Changed:
<
<
The path of the script URL of TWiki, is /twiki/bin
>
>
The path of the script URL of TWiki, is /twiki/bin
 
%PUBURL% The public URL of TWiki, is http://www.twiki.ufba.br/twiki/pub
%PUBURLPATH%
Changed:
<
<
The path of the public URL of TWiki, is /twiki/pub
>
>
The path of the public URL of TWiki, is /twiki/pub
 
%ATTACHURL% The attachment URL of the current topic, is http://www.twiki.ufba.br/twiki/pub/TWiki/TWikiVariables
Example: If you attach a file you can refer to it as %ATTACHURL%/image.gif
Line: 70 to 70
 
REMOTE_USER environment variable, is
%INCLUDE{"SomeTopic"}%
Changed:
<
<
Server side include, includes another topic. The current Wiki web is searched by default. Example: %INCLUDE{"TWiki.TWikiWebsTable"}%
>
>
Server side include, includes another topic. The current Wiki web is searched by default. Example: %INCLUDE{"TWiki.TWikiWebsTable"}%
 
%SEARCH{"str" ...}% Inline search, shows a search result embedded in a topic. Parameter is composed of the search string, followed by optional name="value" pairs:
Pair: Description: Default:
Changed:
<
<
web="Name"
web="Main Know"
web="all"
Wiki web to search: A web, a list of webs separated by whitespace, or all webs [1] Current web
>
>
web="Name"
web="Main Know"
web="all"
Wiki web to search: A web, a list of webs separated by whitespace, or all webs [1] Current web
 
scope="topic"
scope="text"
Search topic name (title) or in the text (body) of the topic Topic text (body)
order="topic"
order="modified"
order="editby"
Sort the results of search by the topic names, last modified time, or last editor Sort by topic name
limit="all"
limit="16"
Limit the number of results returned All results
Line: 86 to 86
 
bookview="on" BookView search, e.g. show complete topic text Show topic summary
nosearch="on" Suppress search string Show search string
nototal="on" Do not show number of topics found Show number
Changed:
<
<
Example: %SEARCH{"wiki" web="Main" scope="topic"}%
>
>
Example: %SEARCH{"wiki" web="Main" scope="topic"}%
 
%VAR{"NAME" web="Web"}%
Changed:
<
<
Get a preference value from another web then the current one. Example: To get %WEBBGCOLOR% of the Main web write %VAR{"WEBBGCOLOR" web="Main"}%, is #FFEFA6
>
>
Get a preference value from another web then the current one. Example: To get %WEBBGCOLOR% of the Main web write %VAR{"WEBBGCOLOR" web="Main"}%, is #FFEFA6
 
Line: 155 to 155
 
%HTTP_EQUIV_ON_PREVIEW% SL , UL http-equiv meta tags for preview script.
Added:
>
>
%DENYWEBCHANGE% WL List of users and groups who are not allowed to change topics in the TWiki web. (More in TWikiAccessControl)
%ALLOWWEBCHANGE% WL List of users and groups who are allowed to change topics in the TWiki web. (More in TWikiAccessControl)
%DENYTOPICCHANGE% (any topic) List of users and groups who are not allowed to change the current topic. (More in TWikiAccessControl)
%ALLOWTOPICCHANGE% (any topic) List of users and groups who are allowed to change the current topic. (More in TWikiAccessControl)
%FINALPREFERENCES% SL , WL List of preferences that are not allowed to be overridden by next level preferences
 

Notes:

Line: 164 to 184
 
  • Additional preferences variables can be defined on all three level as needed. Example:
    • Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif
Changed:
<
<
-- PeterThoeny - 01 Nov 2000
>
>
-- PeterThoeny - 10 Nov 2000
 
This site is powered by the TWiki collaboration platformCopyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiVariables