Custom Classes that Use the Block System

Author Message

Chris Yawman

Thursday 05 May 2011 6:49:34 pm

Greetings! I'm a long time reader but this is my first time posting so here I go.

I created a new content class based off of the frontpage class. I defined a layout in my zone.ini, defined some blocks for those zones in my block.ini and created my tpl overrides in my override.ini. When I log in to the admin gui I see my layout and my zones for that class. However, the blocks I am seeing are the default ez flow blocks. How come my blocks aren't showing up?

I've been working with ez publish for a couple of years now but this issue has been haunting me ever since.

SEBBANE Alexandre

Thursday 05 May 2011 9:54:21 pm

Hello,

i have the same problem . in order to avoid it , there 'is only one solution put your block.ini.append.php in settings/override/.

idem for zone.ini...

i hope it's help.

Alexandre

Paris, France

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 30 2025 00:47:50
Script start
Timing: Jan 30 2025 00:47:50
Module start 'layout'
Timing: Jan 30 2025 00:47:50
Module start 'content'
Timing: Jan 30 2025 00:47:51
Module end 'content'
Timing: Jan 30 2025 00:47:51
Script end

Main resources:

Total runtime1.1441 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.2656151.2266
Module start 'layout' 0.00640.0032 739.492236.6875
Module start 'content' 0.00961.1335 776.1797470.8047
Module end 'content' 1.14320.0008 1,246.98447.8125
Script end 1.1440  1,254.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2830160.0002
Check MTime0.00130.1170160.0001
Mysql Total
Database connection0.00090.081710.0009
Mysqli_queries1.103696.4659540.0204
Looping result0.00050.0444520.0000
Template Total1.104096.520.5520
Template load0.00180.159320.0009
Template processing1.102296.341920.5511
Template load and register function0.00020.016710.0002
states
state_id_array0.00160.139310.0016
state_identifier_array0.00090.081120.0005
Override
Cache load0.00150.1277140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.057420.0003
Fetch class attribute name0.00100.086340.0002
XML
Image XML parsing0.00280.242020.0014
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00280.2434220.0001
String conversion0.00000.000640.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs