Wednesday 15 November 2006 4:01:59 am
I've created a class and added an objection relation attribute (called link_node). This attribute is used to store a link to another node in the site. How do I output this link? I have the following which doesn't work,
{set $inner_related_link_node = fetch( 'content', 'related_objects', hash( 'object_id', $related_object.id,'all_relations', true()))}
{if eq($inner_related_link_node.content_class.identifier, "text_page" )}
{foreach $inner_related_link_node as $inner_related_node}
{$inner_related_node.data_map.link_node.content}
{/foreach}
{/if}
Please help
|