Related objects

Author Message

Piotr Switkowski

Wednesday 10 December 2003 12:23:38 am

I would like in my template to display the list of related objects of main object with links to them, so users would be able to navigate to them. However I do not know how to obtain the list of related objects.

Please help

Stefan van Zwoll

Wednesday 10 December 2003 5:09:17 am

dear piotr,

i'm not sure whether you are looking for the same thing as me. the standard template to the 'full' view of a node (design/standard/override/node/view/full.tpl) includes the code to display the related objects of that particular node.

my problem seems to be different: on the frontpage i fetch a node (with fixed id), displaying its title, intro and picture, plus a link to view it 'full'. i want to display the related objects of that node on my fp as well though (as a list). and that doesn't work out by any means (at least not with my knowledge of ezp3.2). if you get/got any clue, be so kind and post it here.

best regards, stefan

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 18 2025 19:08:11
Script start
Timing: Jan 18 2025 19:08:11
Module start 'layout'
Timing: Jan 18 2025 19:08:11
Module start 'content'
Timing: Jan 18 2025 19:08:12
Module end 'content'
Timing: Jan 18 2025 19:08:12
Script end

Main resources:

Total runtime0.9634 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.7891152.6094
Module start 'layout' 0.00530.0037 740.398439.4297
Module start 'content' 0.00890.9529 779.8281455.8750
Module end 'content' 0.96190.0015 1,235.70318.1953
Script end 0.9634  1,243.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3535160.0002
Check MTime0.00150.1606160.0001
Mysql Total
Database connection0.00060.060510.0006
Mysqli_queries0.920095.4899540.0170
Looping result0.00080.0878520.0000
Template Total0.926596.220.4633
Template load0.00240.246820.0012
Template processing0.924195.919620.4621
Template load and register function0.00020.016210.0002
states
state_id_array0.00120.120510.0012
state_identifier_array0.00260.266920.0013
Override
Cache load0.00190.2000100.0002
Sytem overhead
Fetch class attribute can translate value0.00090.089520.0004
Fetch class attribute name0.00150.159420.0008
XML
Image XML parsing0.00030.027120.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00060.0632100.0001
String conversion0.00000.000940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs