You are here: Foswiki>Tasks Web>Item9628 (06 Sep 2010, PaulHarvey)Edit Attach

Item9628: Offer a way to not render RENDERZONE

pencil
Priority: Normal
Current State: No Action Required
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: PaulHarvey
For Item9030 I need to disable loading of scripts in head. But ADDTOZONE contents will just being written in head, even if no RENDERZONE{"script"} is available.

I would either need:
  • RENDERZONE{"script" render="off"} (default render="on")
  • no writing to head/script if no RENDERZONE{"script"} is in the template

Found it: RENDERZONE{"script" format=""}

-- ArthurClemens - 06 Sep 2010

Somehow I would prefer that we simply have explicit %RENDERZONE{"script"}% etc. in the HTML <head>.

ZonePlugin would need to retain automatic </head> replacement

-- PaulHarvey - 06 Sep 2010
 

ItemTemplate edit

Summary Offer a way to not render RENDERZONE
ReportedBy ArthurClemens
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r2 - 06 Sep 2010, PaulHarvey
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