Author Topic

Łukasz Serwatka

Wednesday 30 November 2005 11:22:51 pm

Comment44811

but when I create a new object, I just can have his ID ($object.id) or his class name ($object.class_name).

You will have to fetch it in content/edit.tpl

{*For new creating object*}
{let parent_node=fetch( content, node, hash( node_id, $object.current.main_parent_node_id ) )}
{*Parent object*}
   {$parent_node.name}
{/let}

Hope it will help you.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog