Forums / Developer / Information Collection for Object Relation and Object Relations
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
Saturday 02 April 2011 2:52:34 am
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.
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.