Find related templates

Author Message

lorenzo messori

Monday 09 May 2005 10:54:39 am

Hi all, i have some problems when i have to find a template design.
4 ex: i have to find the template used for the object related layout.
I'm explaining well now:
i had create a new CLASS and call it MEMBERS, in this class i'd insert a "Relation Object List".
I'd create a new Override to display this class and i call every object with this script

<div class="member_info">
    <div class="sx_col">{$node.object.data_map.nome_associato.contentclass_attribute.name}:</div>
    <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.nome_associato}</div>
    <div class="sx_col">{$node.object.data_map.socio_fondatore.contentclass_attribute.name}:</div>
    <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.socio_fondatore}</div>
    <div class="sx_col">{$node.object.data_map.tipo_attivita.contentclass_attribute.name}:</div>
    <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.tipo_attivita}</div>
    <div class="sx_col">{$node.object.data_map.web_site.contentclass_attribute.name}:</div>
    <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.web_site}</div>
    <div class="sx_col">{$node.object.data_map.email.contentclass_attribute.name}:</div>
    <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.email}</div>
    <div class="sx_col">{$node.object.data_map.telefono.contentclass_attribute.name}:</div>
    <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.telefono}</div>
    <div class="clear"></div>
    <div class="v_spacer"></div>
    <div class="sx_col">{$node.object.data_map.desc_attivita.contentclass_attribute.name}:</div>
    <div class="dx_col">{attribute_view_gui attribute=$node.object.data_map.desc_attivita}</div>
    <div class="v_spacer"></div>
    <div class="sx_col">{$node.object.data_map.dove_trovarli.contentclass_attribute.name}:</div>
    <div class="dx_col"><b>{attribute_view_gui attribute=$node.object.data_map.dove_trovarli}</b></div>
    <div class="v_spacer"></div>
   {* <div>{attribute_view_gui attribute=$node.object.data_map.images}<div>*}
</div>

The last DIV recall the Related Object List, but give it an unuseful difficult layout.
I would like to change it, but to do it i have to find the relative template and create a new Override.
May anyone help me?

P.S.: sorry 4 my bad english

Thx previously

Ɓukasz Serwatka

Wednesday 18 May 2005 1:14:24 am

If you using ezobjectrelationlist then you will have to look in to design\standard\templates\content\datatype\view\ezobjectrelationlist.tpl

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 06:13:21
Script start
Timing: Jan 31 2025 06:13:21
Module start 'layout'
Timing: Jan 31 2025 06:13:21
Module start 'content'
Timing: Jan 31 2025 06:13:21
Module end 'content'
Timing: Jan 31 2025 06:13:21
Script end

Main resources:

Total runtime0.0169 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.1250151.2109
Module start 'layout' 0.00450.0030 739.335936.6484
Module start 'content' 0.00750.0076 775.984490.2500
Module end 'content' 0.01510.0018 866.234433.9922
Script end 0.0169  900.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.2940140.0002
Check MTime0.00116.3684140.0001
Mysql Total
Database connection0.00042.248310.0004
Mysqli_queries0.002917.450730.0010
Looping result0.00000.087510.0000
Template Total0.00148.110.0014
Template load0.00095.217410.0009
Template processing0.00052.833710.0005
Override
Cache load0.00063.390810.0006
General
dbfile0.003218.652480.0004
String conversion0.00000.048040.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