eZ Community » Forums » Install & configuration » eznewsletter override...
expandshrink

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

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

Friday 04 June 2010 3:23:31 pm - 1 reply

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 postblunk.gif Emoticon

Modified on Friday 04 June 2010 4:05:10 pm by Andreas Adelsberger

Wednesday 08 June 2011 12:42:00 pm

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 chellengesblunk.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu