Forums / Developer / Which file does attribute_view_gui use?

Which file does attribute_view_gui use?

Author Message

Leandro Alves

Thursday 01 June 2006 8:11:36 am

Hi!

I have this code in my "galleryline/image.tpl" template:

{attribute_view_gui attribute=$node.data_map.image image_class=gallerythumbnail href=$node.url_alias|ezurl}

When I use it I have this output in my xhtml file:

<a href="[...]/misc_flowers/yellow_flower">
<img src="[...]/yellow_flower_gallerythumbnail.jpg" width="70" height="53"  style="border: 0px;" alt="Yellow flower." title="Yellow flower." />
</a>    

 

I would like to know which file is used by the "atribute_view_gui" to create the "img" tag in the xhtml file?

For example, if I want to change the "border size" in the "img" tag for all images, which file should I have to change?

Thanks in advance!

Leandro

Kristian Hole

Thursday 01 June 2006 12:05:12 pm

Hi Leandro

The quickest way to see which templates that are used, is to use the "Quick settings" in the right column of the admin-interface. Select "List of used templates", "Inline debugoutput", "DebugOutpu" and click Set.

This will show you the list of templates in the bottom of the debugoutput, and it will also show which template it includes in the source of the HTML.

You should see something like:
design/standard/templates/content/datatype/view/ezimage.tpl

Reference to the settings are here:
http://ez.no/download/ez_publish/changelogs/ez_publish_3_6/new_features/template_usage_statistics_in_debug_mode

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute