How Do I call a Node within a Node?

BWoelkers - July 17, 2008 - 19:29

What would the syntax be to call existing nodes and display the content on a page within a div table?

So If I had my page and I wanted to call the nodes 81 and 87. and display them separately throughout the page and not in an array.

Thanks!

-B

I would consider using the

nevets - July 17, 2008 - 19:40

I would consider using the panels and/or views modules but the php would be something like

<?php
$nid
= 81;
$node = node_load($nid);
print
node_view($node);
?>

You may want to look up node_view in the API docs as it has several optional parameters.

I was using the panels

BWoelkers - July 17, 2008 - 19:59

I was using the panels module, but I had something else in mind for this. It works though! Thanks for your help!

=]

 
 

Drupal is a registered trademark of Dries Buytaert.