The variable $node is only available by default inside $node templates ( full/line/embed ), not in pagelayout.tpl neither in custom modules templates. You can either:
Set the template variable in the module view php file ( $tpl->setVariable( 'node', eZContentObjectTreeNode::fetch($node_id ) ); ), so you'll be able to access it inside the module view tpl;