Item12378: Documentation for RENDERZONE appears to be incorrect
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Documentation
Branches:
System.Macros#RENDERZONE states:
Zones are cleared after being rendered; they are only ever rendered once.
This appears to be incorrect, at least in 1.1.6.
Specify a skin template with contents:
%RENDERZONE{"script" format=" "}%
%TEXT%
Various
script
tags will still be added to the
head
of this skin template's output. However, reorder the contents of the skin template thus:
%TEXT%
%RENDERZONE{"script" format=" "}%
No
script
tags will be included in the
head
of the resulting output.
The implication seems to be that, in the first case, additional zone rendering is being done
after the processing of the RENDERZONE macro; in the second case, the processing of RENDERZONE at the end of the template appears to "cancel out" this other zone rendering.