This passage is not helpful at all:

Nodes are now prepared for display by assembling a structured array in $node->content, rather than directly manipulating $node->body and $node->teaser. The format of this array is the same used by FormAPI.

Users need to know what replaces $node->body and $node->teaser. I recommend adding an explanation of exactly how to manipulate the body and teaser, something like this:
Instead of modifying $node->body or $node->teaser, you now modify $node->content['body']['#value'].

Comments

pwolanin’s picture

That's not really right- depends what you mean by modifying. If you want to add more content, you sould add more array aelements, like $node->content['mymodule']['#value'] = "

Hello world

";

You would only modify $node->content['body']['#value'] if you want to change the content retreived from the DB.

darren oh’s picture

Thanks for the clarification. That's what needs to be in the handbook.

pwolanin’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)