Forums / Developer / Multiple related objects / Comment51268
André R.
Tuesday 09 June 2009 8:48:48 am
You'll need to use the object id of the keyword node, not the node id.It's most likely $keyword.contentobject_id you'll want to use.
Node vs object reference: http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/content_management/the_content_nodehttp://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/content_management/the_content_node_tree
Node attributes:http://ez.no/doc/ez_publish/technical_manual/4_0/reference/objects/ezcontentobjecttreenode
I guess you have looked at it, but place a link to the related_objects fetch doc page here anyway:http://ez.no/doc/ez_publish/technical_manual/4_0/reference/modules/content/fetch_functions/related_objects
And while on it, the different type of relations in ezp:http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/content_management/object_relations
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom