Forums / Developer / Get current node within an operator / Comment49768
André R.
Thursday 26 June 2008 7:57:41 am
To print the current node id:
$node = $tpl->variable('node'); print_r( $node->attribute('node_id') );
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom