Forums / Setup & design / Overriding template

Overriding template

Author Message

Ted Striker

Wednesday 17 June 2009 1:42:10 am

I older versions of eZ Publish I used to override templates by recreating the same tree structure of the template in the <b>design/site_name/override/template</b> directory.

Now on eZ Publish 4.0 I want to override the <b>ezbinaryfile.tpl</b> by a custom template and put my template (basically the same one with little changes) in :

 
/design/site_name/override/templates/content/datatype/edit/ezbinaryfile.tpl

Unfortunately this system that works perfectly in 3.9 sites I have running, will not work now. What am I doing wrong? Any help?

Thank you in advance!

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

André R.

Wednesday 17 June 2009 3:21:31 am

Just put it in tempaltes folder instead of override/templates, 4.x only allows override (override.ini) templates in the override folder.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom