object relations and its type

Author Message

Jacek S

Monday 22 August 2005 11:38:47 am

After I added to a class argument of type Object Relations I can select its Type from a dropdown list. But in that list is only one element: "Only existing objects".
Im very interested in setting the type to "NOT only existing objects" - will ez publish give me that opportunity?

Nabil Alimi

Monday 29 August 2005 2:58:28 am

Hi Thorgrim,

Object relation<b>s</b> (ORs) seems to be limited to already created content but Object Relation (OR) is not.
For using OR, you need to specify <b>one</b> single node. So if you can store every objects that will be object related under one single node, I think that it can solve your problem... But maybe you can't, in that case, my post was useless. ^^'

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Xavier Dutoit

Monday 29 August 2005 6:08:17 am

Alernatively, you can use enhanced object relation

http://ez.no/community/contribs/datatypes/enhanced_objectrelation

Where you have more options, likely the one you need too.

X+

http://www.sydesy.com

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

Main resources:

Total runtime0.6308 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1563152.6250
Module start 'layout' 0.00490.0026 741.781339.4453
Module start 'content' 0.00740.6221 781.2266571.5625
Module end 'content' 0.62950.0013 1,352.789112.1641
Script end 0.6308  1,364.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4881160.0002
Check MTime0.00130.2091160.0001
Mysql Total
Database connection0.00080.119510.0008
Mysqli_queries0.582692.3666590.0099
Looping result0.00060.0982570.0000
Template Total0.603095.620.3015
Template load0.00200.310520.0010
Template processing0.601095.278120.3005
Template load and register function0.00020.029910.0002
states
state_id_array0.00150.236810.0015
state_identifier_array0.00080.124720.0004
Override
Cache load0.00170.2616160.0001
Sytem overhead
Fetch class attribute can translate value0.00080.124630.0003
Fetch class attribute name0.00100.165050.0002
XML
Image XML parsing0.00120.196130.0004
class_abstraction
Instantiating content class attribute0.00000.001650.0000
General
dbfile0.00190.3034220.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs