This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » General » object relations and add locations
expandshrink

object relations and add locations

object relations and add locations

Tuesday 26 January 2010 2:48:09 pm - 2 replies

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!!!

Tuesday 26 January 2010 9: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/develop...e-related-object-of-a-related-object

Regards Robin

Tuesday 26 January 2010 10: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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from