Forums / Setup & design / override ezimage.tpl
Daniele Nocentini
Thursday 12 May 2005 9:22:21 am
I want to override the template: design/standard/templates/content/datatype/view/ezimage.tpl
when I show an article node list.I use this code:
{section name=Child loop=$children} <div class="box"> <h3>{$Child:item.object.data_map.short_title.content}</h3> <p> {section show=$Child:item.object.data_map.image.content} <div class="attribute-image"> {attribute_view_gui attribute=$Child:item.object.data_map.image image_class=small } </div> {/section} </p> </div> {/section} {/let}
and this override:
[view_images] Source=content/datatype/view/ezimage.tpl MatchFile=viewimages.tpl Subdir=templates Match[class]=2
but ez still show the standard template.Where is the problem?
Antica Bottega Digitale srl http://www.abd.it
Marko Žmak
Thursday 12 May 2005 4:44:50 pm
Try using override setting without Match[class]=2 (it works for me). Also try clearing the cache.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth