Forums / Install & configuration / eznewsletter override content/datatype/view/ezxmltags/line.tpl

eznewsletter override content/datatype/view/ezxmltags/line.tpl

Author Message

Andreas Adelsberger

Friday 04 June 2010 6:23:31 am

HI, I try to override a template in newsletter/preview module view. The override condition is in extension/eznewsletter/override.ini.append.php:

[line_jf]
Source=content/datatype/view/ezxmltags/line.tpl
MatchFile=content/datatype/view/ezxmltags/line.tpl
Subdir=templates
Match[class_identifier]=newsletter_issue

It just works, when I comment out the override condition. The class_identifier is correct because I checked $contentobject.class_identifier.

When I look at the documentation it says that class_identifier works for content/datatype/view/*.tpl.

Any hints on that?

Thanx Andi.

Edit: there were some problems with naming the custom tag. after renaming the custom tag to something different than "line" it works now!

@Admins: you can delete this post;-)

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.

hareton green

Wednesday 08 June 2011 3:42:00 am

glad that after solving small problems with naming the custom tag it works) I wonder if you reached this solution yourself, cause personally I would never think of anything of the kind and your post remains the only one here. from my own experience I know that managing eZ publish web content management projects is not an easy task, but you managed to succeed in this issue. wish you furhter success in different chellenges;)