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.