You are here: Foswiki>Tasks Web>Item12378 (01 Feb 2013, AlexisHazell)Edit Attach

Item12378: Documentation for RENDERZONE appears to be incorrect

pencil
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: Documentation
Branches:
Reported By: AlexisHazell
Waiting For:
Last Change By: AlexisHazell
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.

 

ItemTemplate edit

Summary Documentation for RENDERZONE appears to be incorrect
ReportedBy AlexisHazell
Codebase 1.1.6
SVN Range
AppliesTo Engine
Component Documentation
Priority Normal
CurrentState New
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r1 - 01 Feb 2013, AlexisHazell
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy