Author Topic

Fabio Carissimi

Thursday 29 June 2006 5:45:08 am

Comment46237

Hi

thanks for this usefull answer,

I tried the solution for object relation :

$objectRelationAttribute->setAttribute( 'data_int', $objectToRelate->attribute( 'id' ) );
$objectRelationAttribute->store();

And it works fine.

But I can make the solution for object relation list work,
I use a code similar to your suggestion and when I print out the content of $content['relation_list']

$cli->output(print_r($content['relation_list']));


the array is complete and it seems to work,

but when I come bakc to the admin interface, the object is created without the object relation list.

Is there something else I have to add ?

Many thanks
Fabio