How to collect objects reference?

Author Message

Karol Radziuk

Friday 10 September 2010 3:22:46 am

Hi,

 

I have some difficult situation. I would not like to collect nodes attributes informations, but its children's ID.

Typical in poll we add new attribute and select "information_collection" flag, and then we create object and add some options to this attribute...

I have a ranking (parent node) of the sample objects (child nodes), and I would give users the opportunity to vote for these objects. I can add, they can vote, so the number of options can change.

Can I achieve this with information collector? Or there is maybe some other smart way...

{$me|attribute(show,1)}

SEBBANE Alexandre

Saturday 18 September 2010 9:10:54 pm

Hello,

let me see if i have understand :

One parent for thema

many children you set for answers

your users can vote for the children .

if i 'am right i would have set 2 classes one for the parent and one for the answers

and i would have set in the answers a starrating attribute.

let me know if it is that or not ...

Alex

Paris, France

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 30 2025 00:45:22
Script start
Timing: Jan 30 2025 00:45:22
Module start 'layout'
Timing: Jan 30 2025 00:45:22
Module start 'content'
Timing: Jan 30 2025 00:45:22
Module end 'content'
Timing: Jan 30 2025 00:45:22
Script end

Main resources:

Total runtime0.0173 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.0071 588.1563151.2109
Module start 'layout' 0.00720.0032 739.367236.6484
Module start 'content' 0.01030.0050 776.015690.1563
Module end 'content' 0.01540.0019 866.171929.9922
Script end 0.0173  896.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.1161140.0002
Check MTime0.00137.4836140.0001
Mysql Total
Database connection0.00095.451810.0009
Mysqli_queries0.004425.657230.0015
Looping result0.00000.150310.0000
Template Total0.00147.910.0014
Template load0.00106.014210.0010
Template processing0.00031.849910.0003
Override
Cache load0.00084.405510.0008
General
dbfile0.00031.516380.0000
String conversion0.00000.056540.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