Forums / Setup & design / Overriding of Templates in Version 4.0

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential 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