Wednesday 24 May 2006 9:55:18 am
Hi i’m running ez 3.6.x,
I want to use tipafriend functionality but using different template depending on object class. I’ve been created an override for template tipafriendmail.tpl:
[tipafriend_news]
Source=content/tipafriend_mail.tpl
MatchFile= tipafriend_mail_news.tpl
Subdir=templates
Match[class_identifier]=news
And it works. The problem is when I try to add override filters by class:
[tipafriend_news]
Source=content/tipafriendmail.tpl
MatchFile= tipafriend_mail_news.tpl
Subdir=templates
Match[class_identifier]=news
It doesn’t use template tipafriend_mail_news in design/<i>mysite</i>/override/templates/tipafriendmail.tpl and uses template in design/standard/templates/content/tipafriendmail.tpl Anyone found a problem like this? Many thanks in advance.
|