AvailableForClasses for blocks?

Author Message

Carlos Revillo

Thursday 13 November 2008 9:21:08 am

Hi.

In extension/ezflow/settings/zone.ini.append.php we can define zones and set the ability of these zones to one or a set of classes. something like

[2ZonesLayout2]
ZoneTypeName=2 zones (layout 2)
Zones[]=left
Zones[]=right
ZoneName[left]=Left zone
ZoneName[right]=Right zone
ZoneThumbnail=2zones_layout2.gif
Template=2zoneslayout2.tpl
AvailableForClasses[]=frontpage

Is there any way to add set avaliable blocks for only a set of classes or maybe a set of defined zones?

Thank you.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 04:25:21
Script start
Timing: Jan 18 2025 04:25:21
Module start 'layout'
Timing: Jan 18 2025 04:25:21
Module start 'content'
Timing: Jan 18 2025 04:25:21
Module end 'content'
Timing: Jan 18 2025 04:25:21
Script end

Main resources:

Total runtime0.1252 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0105 589.1875152.6406
Module start 'layout' 0.01060.0075 741.828139.4766
Module start 'content' 0.01810.1055 781.3047403.2188
Module end 'content' 0.12360.0015 1,184.52348.1406
Script end 0.1252  1,192.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00393.1095160.0002
Check MTime0.00151.1746160.0001
Mysql Total
Database connection0.00141.128310.0014
Mysqli_queries0.080063.9098480.0017
Looping result0.00040.3528460.0000
Template Total0.072157.520.0360
Template load0.00332.627420.0016
Template processing0.068754.902320.0344
Template load and register function0.00020.122810.0002
states
state_id_array0.00211.639610.0021
state_identifier_array0.00100.815320.0005
Override
Cache load0.00272.185380.0003
Sytem overhead
Fetch class attribute can translate value0.00131.035010.0013
Fetch class attribute name0.00080.678810.0008
XML
Image XML parsing0.00020.123010.0002
class_abstraction
Instantiating content class attribute0.00000.003210.0000
General
dbfile0.00090.6923100.0001
String conversion0.00000.012040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs