Forums / Developer / Edit multiple objects simultaneously
Francisca Hernández
Sunday 21 September 2008 3:09:50 pm
Hi all,
We need to develop the functionality to edit multiple objects simultaneously. Something similar to what has the datatype objectrelationlist.
Someone has worked in this or someone has an idea?
Thanks, Fran
Iguana IT, SL - http://www.iguanait.com
Piotrek Karaś
Monday 22 September 2008 12:51:47 pm
Fran,
Can you give an example or explain it a bit further? I cannot recall anything like editing multiple anything with objectrelationlist...
Cheers,Piotrek
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu
Tuesday 23 September 2008 3:17:18 am
Hi Piotrek,
When you create a class with ezobjectrelationlist datatype, you have to select the type. If the type is New objects. You go to content, create an object of that class and New objects. So when you are creating the object, you create the new relation objects, and you edit all the objects that are from that relation in the same template. If you reedit this object, you can edit all related object at once.
Tell me if is not clear please, i know my english is not good :-(
Thanks, fran
Tuesday 23 September 2008 11:08:32 pm
Hi Fran,
Yes, I think I know where you're going. But I'm not sure that would be easy/possible without severe changes to the kernel functionalities (edit view and related) or writing your custom edit view-set. Or creating a complex datatype overriding objectrelationlist datatype, that would actually provide interface for object editing.
Anyway, no experience with that particular problem here, sorry.
Good luck,Piotrek