Forums / Setup & design / can't override /embed/article.tpl

can't override /embed/article.tpl

Author Message

Arne Schirmacher

Wednesday 24 November 2004 4:43:05 am

I want to put a "related" article in a factbox and I want to modify how it is displayed in the factbox. The template responsible for this is in design/base/override/templates/embed/article.tpl.

After overriding the template /embed/article.tpl (it is on page 36 in my 3.5 beta1 template list) and creating a new file the original template is still used. I modified the new file in design/mysite/override/templates, cleared all caches but still the original template is in effect.

What is the problem here?

Alex Jones

Wednesday 24 November 2004 8:02:15 am

Have you made sure that the priority of the override puts it above the original (i.e., your original article template should have a priority of '2', and your override should have a priority of '1')? If not, make the change, clear the cache and see if it now works.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Arne Schirmacher

Thursday 25 November 2004 8:28:32 am

yes, there were no previous overrides, so my new file is the only entry in the list.