Work with "Object relation" attribute datatype

Author Message

Pavel Konovalov

Thursday 09 November 2006 10:10:07 am

Hi.
I have some troubles when i use attribute with datatype "Object relation".
I want to store the list of all users in this attribute.
How can I do this?

Are you gangsters?!
No, we are Russians.

sangib das

Sunday 12 November 2006 10:36:54 pm

Hi Pavel Konovalov

I think it may help u...................................pls do the following thing...................
1.......Go to admin side and click on setup from the top menu.
2........click on classes and content
3.... click on new class buton.............
4........Select Object relation data type...............
5 and select method Dropdowm list.
6.clicks on Select Item Button and next click on User Account menu from the Top menu
and select ur user group....................................
if u want multi select pls select the "Object Reatlations" instead of Object Realation and do
the above process from 4,5 and 6
Thanks
Sangib

Pavel Konovalov

Monday 13 November 2006 3:37:40 am

Hi Sangib.
Thank your for your reply.
But this class has been already created.
And I want to store in this attribute the list of all users.
How can I do this without using admin interface?

Are you gangsters?!
No, we are Russians.

Claudia Kosny

Tuesday 14 November 2006 2:24:39 pm

Hi Pavel

I am not sure whether this is possible at all but maybe you can try to add the user group of your suers as a related object?

Claudia

Pavel Konovalov

Wednesday 15 November 2006 3:52:20 am

Hi Claudia!
Thx for your reply.
I did it just like you said.

Are you gangsters?!
No, we are Russians.

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

Main resources:

Total runtime0.6476 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.0053 589.1641152.6406
Module start 'layout' 0.00530.0030 741.804739.4766
Module start 'content' 0.00830.6378 781.2813589.0625
Module end 'content' 0.64610.0015 1,370.343812.1250
Script end 0.6476  1,382.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4582160.0002
Check MTime0.00120.1896160.0001
Mysql Total
Database connection0.00090.142810.0009
Mysqli_queries0.593591.6386650.0091
Looping result0.00060.0956630.0000
Template Total0.621496.020.3107
Template load0.00190.288720.0009
Template processing0.619695.665220.3098
Template load and register function0.00010.013710.0001
states
state_id_array0.00100.154910.0010
state_identifier_array0.00100.154920.0005
Override
Cache load0.00160.2464390.0000
Sytem overhead
Fetch class attribute can translate value0.00070.107130.0002
Fetch class attribute name0.00150.228960.0002
XML
Image XML parsing0.00070.104830.0002
class_abstraction
Instantiating content class attribute0.00000.002580.0000
General
dbfile0.00070.1132160.0000
String conversion0.00000.001240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs