| Friday 15 September 2006 9:57:47 am 
                                                                
                                                                 I have a related object on my page. It's basic; contains a title, a link, and a related image. 
{let related_objects=fetch( 'content', 'related_objects',
				  		hash( 'object_id', $module_result.content_info.object_id ) )}
{section loop=$related_objects var=related_object}
	{if eq($related_object.content_class.identifier, "link_home_panel" )}
				  			
	This fetches the related object and allows me to display the title and the link but I still need to access the related image.
 I tried this 
{let related_backgrounds=fetch( 'content', 'related_objects',
			hash( 'object_id', $related_object.content_info.object_id ) )}
	{section loop=$related_backgrounds var=related_background}
		{if eq($related_background.content_class.identifier, "image_home_panel" )}
  Maybe I've just gone about selecting the object id wrong. Indeed when I try this TEST: { $related_object.content_info.object_id}all i get is TEST. ie no id. Is this the correct approach? 
Thanks
 
 
 
 |