Tuesday 17 January 2006 10:39:28 am
Hi Thomas,
Let me see if I got you right.
I sometimes use the parent object when creating a new object to get some attribute or other. Say you have a folder in which you have the users post images, something like a guest book. I generally use the description of the parent folder for the posting instructions in this guestbook affair, this description is brought by the edit template.
{let Parent=fetch( 'content', 'node', hash( 'node_id', $object.current.main_parent_node_id ) )}
{$Parent.object.data_map._NEEDED_ATTRIBUTE_}
{/let}
I guess you could use that to fetch whatever attribute you need from the parent for your object relation. Hope it helps
I have great faith in fools; self-confidence my friends call it.
http://presencia.net
|