RENDERZONE
%RENDERZONE{"zone" ...}%
See
ADDTOZONE for an explanation of
zones.
Parameters:
Supports the
standard format tokens in all parameters.
Notes:
-
header
and footer
are not output if there is no content in the zone (nothing has been ADDTOZONEd
). However they are output if the output is the empty string (at least one ADDTOZONE
has been processed).
- Zones are cleared after being rendered; they are only ever rendered once.
-
head
and script
are automatic zones. They don't require a corresponding RENDERZONE
anywhere in the templates - they are automatically inserted before the </head>
tag in the output HTML page.
- Normally, dependencies between individual
ADDTOZONE
statements are resolved within each zone. However, if {MergeHeadAndScriptZones}
is enabled in configure, then head
content which requires an id
that only exists in script
(and vice-versa) will be re-ordered to satisfy any dependency. {MergeHeadAndScriptZones}
will be removed from a future version of Foswiki.
See also
ADDTOZONE for more information on zones.