extract node parts module

satya - Thursday, June 02, 2011 9:37:56 PM

drupal extract node parts module

drupal extract node parts module

Search for: drupal extract node parts module

satya - Thursday, June 02, 2011 10:01:58 PM

I have asked a question on this at drupal forum

I have asked a question on this at drupal forum

satya - Thursday, June 02, 2011 10:12:15 PM

drupal how can I read the contents of a node

drupal how can I read the contents of a node

Search for: drupal how can I read the contents of a node

satya - Thursday, June 02, 2011 10:16:40 PM

here is a note on how to read the contents of a node

here is a note on how to read the contents of a node

satya - Thursday, June 02, 2011 10:17:04 PM

drupal api node_load

drupal api node_load

Search for: drupal api node_load

satya - Thursday, June 02, 2011 10:19:17 PM

api reference for node_load

api reference for node_load

satya - Thursday, June 02, 2011 10:21:32 PM

Here are all the functions in a node module

Here are all the functions in a node module

satya - Thursday, June 02, 2011 10:34:03 PM

drupal node object

drupal node object

Search for: drupal node object

satya - Thursday, June 02, 2011 10:37:37 PM

fields of a node object

fields of a node object

satya - Thursday, June 02, 2011 10:47:05 PM

drupal retrieving fields of a node object

drupal retrieving fields of a node object

Search for: drupal retrieving fields of a node object

satya - Thursday, June 02, 2011 10:52:08 PM

read this later on node/theming

read this later on node/theming

satya - Friday, June 03, 2011 12:49:31 PM

what type is drupal node body

what type is drupal node body

Search for: what type is drupal node body

satya - Friday, June 03, 2011 12:54:06 PM

lot of overwhelming info on body field

lot of overwhelming info on body field

satya - Friday, June 03, 2011 1:15:50 PM

drupal db_result

drupal db_result

Search for: drupal db_result

satya - Friday, June 03, 2011 1:19:14 PM

node table in drupal 7

node table in drupal 7

Search for: node table in drupal 7

satya - Friday, June 03, 2011 2:05:39 PM

With help from a colleague this worked for now


function stm_getBodyText()
{
	//load the node
	$node = node_load(2);
	
	//this will print the structure of
	//body on your web page for debugging
	dpm($node->body);
	
	//From that structure you will
	//see how to return the body value
	$body= $node->body['und'][0]['value'];
		
	return $body;
}