Share icon

If you want to render a node in drupal 7 it is pretty easy, you just a node id or nid of node for doing this:

simply

<?php 
$nid = 13; //use your node nid which you want to render
$nodeview = node_view(node_load($nid));
print drupal_render($nodeview);
?>

You can use this any template like node,page, block, region or field etc.

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.