4.30. fly_list
4.30.1. Summary
Parameters: code base
Positional parameters in same order.
Pass attribute hash as last to subroutine: no
Must pass named parameter interpolate=1 to cause interpolation.
This is a container tag, i.e. [fly_list] FOO [/fly_list]. Nesting: NO
Invalidates cache: no
Called Routine:
ASP-like Perl call:
$Tag->fly_list(
{
code => VALUE,
base => VALUE,
},
BODY
)
OR
$Tag->fly_list($code, $base, $BODY);
[fly_list code base]
| Parameters | Description | Default |
| base | DEFAULT_VALUE | |
| code | DEFAULT_VALUE |
| Attributes | Default |
| interpolate | No |
| reparse | Yes |
| Other_Charactreristics | |
| Invalidates cache | no |
| Container tag | Yes |
| Has Subtags | No |
| Nests | No |
Tag expansion example:
[fly_list code base] --- TAGRESULT
ASP-like Perl call:
$Tag->fly_list( { base => VALUE_base
code => VALUE_code
}, $body );
or similarly with positional parameters,
$Tag->fly_list(code,base, $attribute_hash_reference, $body);
4.30.2. Description
Syntax: [fly-list prefix=tag_prefix* code=code*]
Defines an area in a random page which performs the flypage lookup function, implementing the tags below.
[fly-list]
(contents 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 these two calls display identical pages:
[page 00-0011] One way to display the Mona Lisa [/page]
[page flypage2 00-0011] Another way to display the Mona Lisa [/page]
If you place a [fly-list] tag alone at the top of the page, it will cause any page to act as a flypage.
By default, the prefix is item, meaning the [item-code] tag will display the code of the item, the [item-price] tag will display price, etc. But if you use the prefix, i.e. [fly-list prefix=fly], then it will be [fly-code]; prefix=foo would cause [foo-code], etc.