new class with "object relation" typed attributes

Author Message

aurelie aurelie

Wednesday 28 July 2004 1:44:30 am

I've created a new class called "foo". This class has some "object relation" typed attributes, linked to other objects "bar". When I define this attribute, I need to set a "Location" in the CONTENT part of the site. But this class is aimed to be used at any location in the website, depending on the writers humors :-)
The problem is, that when I edit an object whose type is "foo", I can add some "bar" objects but they don't appear as CHILDREN in the website.
So I can't see them in the lists !!!

Please give me tips to understand:
- why do I have to mix some structure elements (classes) and content tree when declaring an "object relation" attribute?
- why newly created "bar" objects are not automatically defined as children of the current object when I create them with the "foo" content editor while they are well defined as children when I create them by clicking on the "create here" button on a "foo" object view ?

Thanks for your help !

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

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.2656151.2266
Module start 'layout' 0.00590.0028 739.492236.6797
Module start 'content' 0.00870.0061 776.171986.0781
Module end 'content' 0.01480.0015 862.250029.9922
Script end 0.0162  892.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.6840140.0002
Check MTime0.00116.9627140.0001
Mysql Total
Database connection0.00084.818910.0008
Mysqli_queries0.003018.574030.0010
Looping result0.00000.074810.0000
Template Total0.00116.710.0011
Template load0.00095.248810.0009
Template processing0.00021.366110.0002
Override
Cache load0.00063.520210.0006
General
dbfile0.001811.024480.0002
String conversion0.00000.029340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs