Interchange pragmas
Pragmas are used to control various aspects of page and data parsing,
and display.
They are generally processed before an Interchange page performs its
normal processing tasks.
Pragma values can be defined at any level:
website-wide, page-wide or tag-block-wide.
To define a pragma to operate website-wide,
use the Pragma local configuration directive,
as follows:
|
Pragma somename { 0 | 1 | =pragma-specific value }
|
To define a pragma for a particular page, use the [pragma]
tag anywhere on a page.
For readability, however, we suggest to always define pragmas at the top of
the page.
The following two lines, of which you would usually use only one at a time,
present pragma activation and deactivation:
[pragma somename 1]
[pragma somename 0]
|
To define a pragma for a specific block of Interchange tags,
inside the page,
enclose the block in [tag pragma ...], as follows:
[tag pragma somename]1[/tag]
Interchange tags here
[tag pragma somename]0[/tag]
|
Pages in the "Interchange pragmas" category