Author Topic

Nicolas Pastorino

Tuesday 06 April 2010 7:44:52 am

Comment58208

"

Question : do you know how can I get the owner's node_id, because test.object.owner.id return the contentobject_id

"

Hi Fabien,

You need to do something like this :

{def $ownerNodeId=$test.object.owner.main_node_id}

Hope it helps,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye