Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (35 sloc) 937 Bytes
__NAME__ purpose
override catalog variables for logged-in users
__NAME__ see also
Variable, var
__NAME__ synopsis
<arg choice='plain' rep='repeat'>
__NAME__ description
The directive overrides values of catalog variables for logged-in users
(usually members of the site).
The override functionality is available when the catalog variable is
accessed using the &tag-var; tag.
__NAME__ notes
__NAME__ example: Overriding a variable
Put the following in &ccf;:
Variable GREETING Hello, Guest!
Member GREETING Hello, Member!
Put the following on an &IC; page:
The above will return <literal>Hello, Guest!</literal> or
<literal>Hello, Member!</literal>, depending on whether
the user is logged in or not.