Active
Project:
Content Templates (Contemplate)
Version:
6.x-0.14
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2008 at 05:07 UTC
Updated:
22 Sep 2008 at 00:43 UTC
When I print $node->body it prints not just the text in the body text area, but all of the CCK fields and then the body text. How do I separate them so I can theme them individually?
Comments
Comment #1
jrglasgow commentedThe variable
$node->bodyis a result of the current template. To access the original body (what the node creator typed into the body text area) use the variable$node->content['body']['#value'].