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

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

eZ debug

Timing: Jan 31 2025 03:36:20
Script start
Timing: Jan 31 2025 03:36:20
Module start 'layout'
Timing: Jan 31 2025 03:36:20
Module start 'content'
Timing: Jan 31 2025 03:36:20
Module end 'content'
Timing: Jan 31 2025 03:36:20
Script end

Main resources:

Total runtime0.0210 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2500151.2266
Module start 'layout' 0.00510.0036 739.4766220.7031
Module start 'content' 0.00870.0109 960.1797997.9141
Module end 'content' 0.01960.0014 1,958.093829.9922
Script end 0.0210  1,988.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002511.7570140.0002
Check MTime0.00104.9371140.0001
Mysql Total
Database connection0.00062.764010.0006
Mysqli_queries0.002712.705130.0009
Looping result0.00000.056710.0000
Template Total0.00104.810.0010
Template load0.00083.776810.0008
Template processing0.00020.956110.0002
Override
Cache load0.00062.744710.0006
General
dbfile0.00031.412180.0000
String conversion0.00000.038640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs