How to display attributes from a related object ?

Author Message

Jean-Luc Nicoulin

Wednesday 29 September 2004 9:15:50 am

Hello,

I am a newbee to eZpublish and would like to be able to display in one page attributes from one content object and from its children objects (linked to the parent by a related object field).

Example: imagine I have a "family" class and a "member of the family" class, how to display on the same page information from the "family" class (e.g. name, adress, city, phone number, and so on) and from the "member of the family" class (e.g. first name of every member of the family).

Thanks in advance,

Jean-Luc Nicoulin

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 19 2025 00:31:24
Script start
Timing: Jan 19 2025 00:31:24
Module start 'layout'
Timing: Jan 19 2025 00:31:24
Module start 'content'
Timing: Jan 19 2025 00:31:25
Module end 'content'
Timing: Jan 19 2025 00:31:25
Script end

Main resources:

Total runtime1.3099 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.0391152.6406
Module start 'layout' 0.00650.0047 740.679739.4766
Module start 'content' 0.01121.2973 780.1563398.7656
Module end 'content' 1.30850.0014 1,178.92198.1250
Script end 1.3099  1,187.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2671160.0002
Check MTime0.00140.1076160.0001
Mysql Total
Database connection0.00090.071010.0009
Mysqli_queries1.268796.8496460.0276
Looping result0.00080.0640440.0000
Template Total1.265496.620.6327
Template load0.00210.157520.0010
Template processing1.263496.443820.6317
Template load and register function0.00020.017610.0002
states
state_id_array0.00130.101810.0013
state_identifier_array0.00120.091620.0006
Override
Cache load0.00170.126480.0002
Sytem overhead
Fetch class attribute can translate value0.00100.078210.0010
Fetch class attribute name0.00070.054010.0007
XML
Image XML parsing0.00010.007610.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0564100.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs