fly-list
Summary
- [fly-list code base] ... [/fly-list]
| Parameter
|
Description
|
Default
|
| code |
The key value that should be used to select a row from the base table. |
None |
| base |
The name of a table from which the code column should be selected. |
DefaultTables |
| prefix |
Override the "PREFIX" used by the various [PREFIX-*] sub-tags. |
item |
| safe_data |
Allow the "[" character to remain intact in returned data. |
No
|
| hide |
Suppress any output text that would ordinarily be returned from this tag.
(This universal parameter was introduced with Interchange version 5.5.2.) |
No
|
| interpolate |
Parse Interchange tags, included in the body text, before this container tag executes. |
No
|
| reparse |
Process any Interchange tags found in the text output from this tag. |
Yes
|
Description
This tag defines an area in a page which performs the flypage
lookup function.
If you place a [fly-list] tag alone at the top of the page,
it will cause any page to act as a flypage.
For instance:
[fly-list]
Content of flypage.html
[/fly-list]
|
If you place the above around the contents of the demo flypage,
in a file named "flypage2.html", it will make the following
two calls display identical results:
<a href="[area 00-0011]"> One way to display the Mona Lisa </a>
<a href="[area flypage2 00-0011]"> Another way to display the Mona Lisa </a>
|
Parameters
code
The key value that should be used to select a row from the
"base" table.
base
The name of a table from which the "code" column should be
selected.
If not specified then the current "DefaultTables" value
will be used.
prefix
Setting "prefix=foo" overrides the "PREFIX" used by the various
[PREFIX-*] sub-tags.
The default "prefix" is "item".
safe_data
Setting "safe_data=1" allows the [sql-data]
and [sql-param] sub-tag (etc.) to return values
containing the "[" character.
|
Warning
Beware of reparsing issues.
You should not use "safe_data" unless you need it
and know what you are doing.
|
See also