Related objects - Is this possible??

Author Message

David Syers

Monday 27 October 2003 7:52:28 am

Can anyone please tell me if this is possible without writing an extension to handle it.

Using the XML field it is possible to place related objects into the field using the <object id='xx' /> tag, and when you display the contents the object tag is automatically processed and replaced according to the embed.tpl

Is it possible to us the object tag with a PLAIN TEXT field and to still have eZ translate the <object id='xx' /> to the correct output?

I need this functionality as I need to display an item mid text so looping through the nodes related objects will not work. And no I cannot use an XML field fullstop.

Any ideas??

PS. Any solutions need to be done without hacking the ez code.

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

Main resources:

Total runtime0.8448 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.0048 588.1406151.2109
Module start 'layout' 0.00480.0022 739.351636.6484
Module start 'content' 0.00700.8369 776.0000822.3359
Module end 'content' 0.84390.0009 1,598.33597.8438
Script end 0.8447  1,606.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3434160.0002
Check MTime0.00120.1478160.0001
Mysql Total
Database connection0.00090.102310.0009
Mysqli_queries0.806595.4676460.0175
Looping result0.00040.0428440.0000
Template Total0.818896.920.4094
Template load0.00210.252620.0011
Template processing0.816696.668820.4083
Template load and register function0.00140.161610.0014
states
state_id_array0.00080.092810.0008
state_identifier_array0.00070.082720.0003
Override
Cache load0.00160.194790.0002
Sytem overhead
Fetch class attribute can translate value0.00050.057410.0005
Fetch class attribute name0.00170.198510.0017
XML
Image XML parsing0.00010.012610.0001
class_abstraction
Instantiating content class attribute0.00000.002110.0000
General
dbfile0.00070.0885100.0001
String conversion0.00000.000840.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