Problem with template overriding

Problem with template overriding

Thursday 09 October 2003 11:15:43 am - 2 replies

Author Message

Paul Borgermans

Thursday 09 October 2003 11:25:46 am

You have to put the [imagenespecial] before [articulo]. The override picks teh first that matches so you need to put the most specific first.

hth
-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Víctor Déniz

Friday 10 October 2003 5:37:31 am

Thanks Paul.

That its no my case, but your answer it's very useful for another problem that I've got at the moment.

This time was an concept error. Really I'm displaying CarpetaFoto, rendering with attribute_view_gui the Article members. The solution is:

imagenespecial]
Source=content/datatype/view/ezimage.tpl
MatchFile=imagenespecial.tpl
Subdir=templates
Match[class]=16
Match[section]=6

where 16 is the CarpetaFoto class.

Thanks a lot.

You must be logged in to post messages in this topic!

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