Load a node and display it's contents
Submitted by Guest (not verified) on Wed, 01/16/2008 - 10:27am.
This code, thanks to Nick Lewis shows how to load a node using it's nodeid and then display the body, then the title.
<!--?php
$MrNode = node_load(array("nid" =-->415)); print $MrNode->body; ?>
<em>-<!--?php print $MrNode--->title;?></em>
The entire article is at
http://www.nicklewis.org/technology/drupal-and-civicspace/a-practical-tu...
Attachment | Size |
---|---|
![]() | 451 bytes |