Where is the image-template?

Author Message

Kjartan Lerøy

Tuesday 23 January 2007 8:42:59 am

Hi. I`m having trouble finding the base template for images displayed in a page when using the 'attribute_view_gui'-function.

( The image is being displayed correctly, but I need to add the parameter: usemap="my_image_map" to the HTML. )

Is there any good guide to overriding the template anywhere (I haven`t found any)? Maybe somebody can at least help me locate which template to override?

Any help or good ideas are appreciated.

Thanks,
Kjartan

Andreas Kaiser

Tuesday 23 January 2007 10:17:38 am

The best way to check which template is used is to enable debug output with "List of used templates". There check *image.tpl. After that create an override for that template.

I have sometimes override the "datatype/ezobjectrelation/image.tpl" template and it works... but the best is to check which template is used...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

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