Monday 26 July 2010 10:21:27 pm
Thanks for the reply Thiago.. I already have the setting you suggest however. in my template i do the following: {def $relatedobjects=fetch('content', 'related_objects', hash('object_id',$node.contentobject_id, 'attribute_identifier','frontpage/people' ) )} when i loop through the $relatedobjects it seems that the list is filled with all results from both the norwegian and the english edit of the object. Basically i have added 5 people objects to my people list when i edit in norwegian. person a=john (exists in english and norwegian) person b=mary(exists in english and norwegian) person c=kate(exists in english and norwegian) person d=bob(exists in english and norwegian) person e=peter(exists only in norwegian) For my english version i only want three of these people to be displayed. english version of the people attribute list is populated with person a and person b and person e. I would like to only have John,Mary and Peter displayed on my english siteaccess. The results however is all people that do exist in one of the versions of the attribute people. (either english or norwegian) Note that this only happens if the 5 people objects in the norwegian version of the attribute have been translated to english, therefore it appears that peter does not show up in the english list. Could anyone please reproduce this on their installation with similar ways of relating content?
|