Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Tuesday 15 January 2008 3:12:20 am - 1 reply
Ćukasz Serwatka
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
You must be logged in to post messages in this topic!