Forums / General / problems with overriding templates in 3.1 stable?

problems with overriding templates in 3.1 stable?

Author Message

Bernhard Hyden

Thursday 03 July 2003 5:49:18 am

Hallo,

I´ve troubles with overriding templates in the new version(3.1 stable)
I´ve placed my templates in design/mydesign/override/templates/node/view/
eg: line_class_15.tpl or full_class_15.tpl
For showing folders´there ist also the full_class_1.tpl in this directory.
but ezPublish alway load the standardtemplate full.tpl from the directory
design/mydesign/templates/node/view
I tried to call directly my template with http://ez31/index.php/mydesign/content/view/line/15/ but it alway display the standard line.tpl :-(

are there any changes in the new version?
where could be the mistake?
Thanks for helping,
Bernhard

Karsten Jennissen

Thursday 03 July 2003 6:02:45 am

Hi Bernhard,

take a look at this:
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/the_new_template_override_system_from_31_onwards
which explains the new template override system.

Karsten

Bernhard Hyden

Thursday 03 July 2003 7:07:33 am

hi,

fine, it works ;-)
thanks for helping,
bernhard