Saturday 26 January 2008 1:23:28 pm
Hi Philippe, Most likely $node variable is not defined. In your PHP code for module view definition you will need to add something like:
$node = eZContentObjectTreeNode::fetch( <node_id>);
$tpl->setVariable( 'node', $node );
then in tpl you can access $node.node_id and other node attributes if needed. You can also of course pass node_id as view parameter.
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|