Closed (fixed)
Project:
Documentation
Component:
Developer Guide
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2006 at 04:40 UTC
Updated:
3 Dec 2006 at 03:30 UTC
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.
Comments
Comment #1
pwolanin commentedThat'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.
Comment #2
darren ohThanks for the clarification. That's what needs to be in the handbook.
Comment #3
pwolanin commentedupdated this page a bit: http://drupal.org/node/64279#node-view
Comment #4
(not verified) commented