Related Objects Problems

Author Message

Mike Cohen

Wednesday 26 February 2003 3:05:54 pm

When defining datatypes, there is one called 'Object Relation', is this meant to be a datatype that stores Related Objects in a similar manner to the Related Objects that appears in the box on the lower right side of the screen when editing a content object?

I have set-up the Object Relation datatype in my classes and it doesn't seem to work. In addition, it seems to interfere with the other Related Objects feature.

I was hoping to be able to set up a few different related objects datatypes in my products class, so related links could be displayed based on certain criteria, like Related Products, Related News, Related Press Releases and so forth.

Also, what is the variable for the related object in the template, for example if the title is:

{attribute_view_gui attribute=$node.object.data_map.title} or {$node.object.data_map.title.content}, what is the variable for a related object?

Any help with this matter is appreciated.

Thank you,

Mike Cohen

Alexei Pechekhonov

Wednesday 26 February 2003 5:07:29 pm

HI Mike,
I have the same. it seems to me a bug.
But in svn versions they fixed it. It works for me in svn.
Wait for RC3
Good luck
Alexei
>
> I have set-up the Object Relation datatype in my classes and
> it doesn't seem to work. In addition, it seems to interfere
> with the other Related Objects feature.

Claus Jensen

Thursday 06 March 2003 5:07:47 am

> HI Mike,
> I have the same. it seems to me a bug.
> But in svn versions they fixed it. It works for me in svn.
> Wait for RC3
> Good luck
> Alexei
> >
> > I have set-up the Object Relation datatype in my classes
> and
> > it doesn't seem to work. In addition, it seems to
> interfere
> > with the other Related Objects feature.

Hi Alexei and Mike,
I have the same problem, when trying to tie two objects together, there appears the be no relation afterwards. Anyway what do you mean be svn versions?

regards,
claÜs

Alexei Pechekhonov

Thursday 06 March 2003 5:43:20 am

> Anyway what do you mean be svn versions?
>
> regards,
> claÜs
Please, look at http://ezwiki.blanko.info/index.php/3XHT_svn

Alexei

Alexei Pechekhonov

Thursday 06 March 2003 5:43:20 am

> Anyway what do you mean be svn versions?
>
> regards,
> claÜs
Please, look at http://ezwiki.blanko.info/index.php/3XHT_svn

Alexei

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

Main resources:

Total runtime0.6525 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 589.0547152.6250
Module start 'layout' 0.00840.0053 741.679739.4453
Module start 'content' 0.01370.6374 781.1250530.6328
Module end 'content' 0.65110.0014 1,311.757812.1641
Script end 0.6525  1,323.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5675160.0002
Check MTime0.00140.2120160.0001
Mysql Total
Database connection0.00170.262710.0017
Mysqli_queries0.588490.1756650.0091
Looping result0.00070.1007630.0000
Template Total0.614894.220.3074
Template load0.00210.320820.0010
Template processing0.612693.893020.3063
Template load and register function0.00070.101810.0007
states
state_id_array0.00110.173210.0011
state_identifier_array0.00130.199520.0007
Override
Cache load0.00190.2855530.0000
Sytem overhead
Fetch class attribute can translate value0.00070.106430.0002
Fetch class attribute name0.00120.179450.0002
XML
Image XML parsing0.00040.064730.0001
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00070.1043100.0001
String conversion0.00000.001740.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs