ezFlow block override in function of "class_identifier"

Author Message

Nicolas OTTAVI

Friday 09 July 2010 6:15:38 pm

Hi,

I made a "little" mistake while "designing" my website, and then I have the eZFlow functions runing on different type of content (frontpage, and other).

The blocks are quite the same in each objects, but with little differences in the way blocks items are displayed. So I am wondering If I can do some tempalte override of blocks and block items based on the class_identifier which contains this block. Hope I am clear enough.
It would save me a lot, as I would not have to change my object and content tree settings.
Thx

Nico O

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

Main resources:

Total runtime0.0132 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.4063151.2422
Module start 'layout' 0.00530.0022 739.648436.7109
Module start 'content' 0.00750.0042 776.359487.2656
Module end 'content' 0.01170.0015 863.625029.9922
Script end 0.0132  893.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002619.9772140.0002
Check MTime0.00118.4251140.0001
Mysql Total
Database connection0.00075.330510.0007
Mysqli_queries0.002317.406930.0008
Looping result0.00000.097610.0000
Template Total0.00118.310.0011
Template load0.00096.534410.0009
Template processing0.00021.758810.0002
Override
Cache load0.00064.844310.0006
General
dbfile0.00031.991980.0000
String conversion0.00000.072340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs