class_identifer overrides not working in timeline view?

Author Message

Josh Bair

Monday 06 July 2009 12:23:39 pm

I’m using the out of the box frontpage class and a block type for the main story.

This main story block type can be used on other pages with zones. However its appearance is different on the frontpage so I am overriding it by class_identifer.

For some reason, when I go into the timeline, the override based on class_identifer isn’t hit and the default is picked up:

My overrides:

### lead story -- frontpage
[block_lead_story_auto-frontpage]
Source=block/view/view.tpl
MatchFile=block/lead_story-frontpage.tpl
Subdir=templates
Match[type]=LeadStory
Match[view]=lead_story
Match[class_identifier]=frontpage

### lead story -- default
[block_lead_story_auto-frontpage]
Source=block/view/view.tpl
MatchFile=block/lead_story.tpl
Subdir=templates
Match[type]=LeadStory
Match[view]=lead_story

Is there something with the timeline view that would cause the class_identifer not to be passed?

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:18:56
Script start
Timing: Jan 18 2025 04:18:56
Module start 'layout'
Timing: Jan 18 2025 04:18:56
Module start 'content'
Timing: Jan 18 2025 04:18:56
Module end 'content'
Timing: Jan 18 2025 04:18:56
Script end

Main resources:

Total runtime0.1308 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.0066 588.1875152.6563
Module start 'layout' 0.00660.0042 740.843839.5078
Module start 'content' 0.01080.1187 780.3516441.4531
Module end 'content' 0.12950.0013 1,221.80478.1016
Script end 0.1308  1,229.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00302.3217160.0002
Check MTime0.00130.9806160.0001
Mysql Total
Database connection0.00161.225310.0016
Mysqli_queries0.092670.7883480.0019
Looping result0.00040.3073460.0000
Template Total0.097374.420.0486
Template load0.00181.383020.0009
Template processing0.095572.985520.0477
Template load and register function0.00010.090910.0001
states
state_id_array0.00070.538910.0007
state_identifier_array0.00090.669620.0004
Override
Cache load0.00141.1040100.0001
Sytem overhead
Fetch class attribute can translate value0.00060.495410.0006
Fetch class attribute name0.00100.737820.0005
XML
Image XML parsing0.00060.471010.0006
class_abstraction
Instantiating content class attribute0.00000.003320.0000
General
dbfile0.00090.6866170.0001
String conversion0.00000.006940.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs