Forums / General / object relations and add locations
Ron Schöningh
Tuesday 26 January 2010 5:48:09 am
Hi All,
I have a problem displaying object relations in locations added by "add locations". I us this code to get a list of related objects:
{def $related = fetch('content', 'related_objects', hash( 'object_id', $node.object.id, 'attribute_identifier', 'article/folder' ))}
This only displays a list of related objects on the original location but not on the added locations. How to solve this?
Thx!!!
Myxt Web Solutions http://www.myxt.nl
Robin Muilwijk
Tuesday 26 January 2010 12:02:38 pm
Hi Ron,
I have no idea if this is going to help you but I did a quick search on the forum and found this:
http://share.ez.no/forums/developer/display-the-related-object-of-a-related-object
Regards Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation. LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
Gaetano Giunta
Tuesday 26 January 2010 1:02:06 pm
Multiple locations ans object relations are two separate, unrelated things. To find all the 'multiple locations' a node belongs to, you have to find its corresponding nodes
Principal Consultant International Business Member of the Community Project Board