Forums / Setup & design / Overriding of Templates in Version 4.0
John Smith
Thursday 06 March 2008 8:20:53 am
Hi there,
In version 3.6.1 I override some of the gallery templates by just creating a new folder "galleryline" and creating template named as "image.tpl" into it. It results in overrdding the "image.tpl" in /design/base/templates/galleryline
I tried samething in ezpublish 4.0. It is not working. Any ideas???
Cheers.
Piotrek KaraĆ
Thursday 06 March 2008 8:43:20 am
It's same with 4.0, except for the fact that overrides may only be stored in override/templates subdirectory, and standard templates (called by other templates or views) may only reside within standard templates dir. You have to rearrange your templates to follow that rule.
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu