While I browsed through several documentation, I come across users who ignorantly tried to display the code in the following way: // $node->body;// print $body;// print $field-body[0]['view'];// print $body->content['body']['#value'];// print $content['body']['#value']; print $node->content['body']['#value']; This last line contains the code that worked fine for me. print $node->content['body']['#value'];
Posts Tagged ‘body field’
How to read and print body field value in drupal
Posted in Drupal, Drupal Tips, tagged body field, cck, Drupal, read body value on May 14, 2008 | Leave a Comment »