[development] $node->body

Jeff Eaton jeff at viapositiva.net
Thu Aug 10 18:26:47 UTC 2006


Technically, it won't require any changes to most themes -- things that
call node_view() will get what they always have. Modules that implement
hook_view() to build custom node bodies and teasers, or modules that
implement hook_nodeapi's 'view' operation to add data to $node->body or
$node->teaser, however, will need to be modified.

http://drupal.org/node/64279#node-view has rough initial documentation
on the changes that are necessary.

--Jeff

> -----Original Message-----
> From: Dries Buytaert [mailto:dries.buytaert at gmail.com] 
> Sent: Thursday, August 10, 2006 10:44 AM
> To: development at drupal.org
> Subject: [development] $node->body
> 
> 
> Hello world,
> 
> I just committed http://drupal.org/node/74326.  This changes the way  
> $node->body works and will require an update to your node 
> modules and  
> themes.
> 
> --
> Dries Buytaert  ::  http://www.buytaert.net/
> 
> 
> 
> 




More information about the development mailing list