Overriding of Templates in Version 4.0

Author Message

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.