[support] render()

berliner myberliner at gmail.com
Wed Oct 30 16:19:18 UTC 2013


Hi Chris,

take a look at https://api.drupal.org/api/drupal/modules!node!node.module/function/node_view/7

berliner

Am 30.10.2013 um 17:05 schrieb Chris Miller <cjm at tryx.org>:

> Hi Folks,
> 
> I have a node expressed as an associate array: "$node = node_load($nid);"  I have some mysteries:
> 
> First, "print_r($node)" produces the same output as "print_r(render($node))", and I think the reason is that I need to add properties to the $node array to tell render() what I want done.  Are my suspicions correct?
> 
> Second, I seek to display $node as HTML.  How do I do this?
> 
> Chris.
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]



More information about the support mailing list