Information Collection for Object Relation and Object Relations

Author Message

Thomas Parisot

Friday 01 April 2011 8:35:07 am

Hello,

I was wondering if anyone succeeded in collecting data issued from Object Relations?
I need in a custom form (with standard datatypes) to collect user feedback on published nodes on the website.

Is there a way to achieve that?

Thanks :-)

Marko Žmak

Friday 01 April 2011 1:14:19 pm

As far as I know currently eZP doesn't allow to use object relation attribute as information collector...

But this could be a good enchanchement, I suggest you post it on the issue tracker. I think it shouldn't be difficult to implement it it only has to store an integer for the object id.

In the meantime you could implement this with a simple integer attribute and create controls (combined with some JS) that will allow users to pick from a list of node.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Thomas Parisot

Saturday 02 April 2011 2:52:34 am

"

As far as I know currently eZP doesn't allow to use object relation attribute as information collector...

But this could be a good enchanchement, I suggest you post it on the issue tracker. I think it shouldn't be difficult to implement it it only has to store an integer for the object id.

In the meantime you could implement this with a simple integer attribute and create controls (combined with some JS) that will allow users to pick from a list of node.

"

Well, I was thinking it was like an « Enumeration » field, with predefined keys (object ID) and values (object name).

I'll post that to the issue tracker.

Marko Žmak

Friday 10 June 2011 8:07:59 am

Have you posted this on the issue tracker in the end?

P.S. I believe that just objectID would do, there's no need to have the object name in the collected info.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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

Main resources:

Total runtime0.9360 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.2969152.6563
Module start 'layout' 0.00720.0045 741.953139.5156
Module start 'content' 0.01170.9230 781.4688560.0313
Module end 'content' 0.93470.0013 1,341.500012.0938
Script end 0.9360  1,353.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3550160.0002
Check MTime0.00120.1315160.0001
Mysql Total
Database connection0.00140.148110.0014
Mysqli_queries0.874493.4175600.0146
Looping result0.00070.0747580.0000
Template Total0.893995.520.4470
Template load0.00230.246720.0012
Template processing0.891695.249820.4458
Template load and register function0.00010.010610.0001
states
state_id_array0.00150.157810.0015
state_identifier_array0.00150.157120.0007
Override
Cache load0.00180.1972260.0001
Sytem overhead
Fetch class attribute can translate value0.00050.058020.0003
Fetch class attribute name0.00160.165660.0003
XML
Image XML parsing0.00110.119520.0006
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00090.0972240.0000
String conversion0.00000.001040.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs