rendered paste bodyfunction property_view($node, $teaser = FALSE, $page = FALSE) { //$node = node_prepare($node, $teaser); ob_start(); echo 'VIEW:'; echo '<pre>'; print_r($node); echo '</pre>'; $pr = ob_get_contents(); ob_end_clean(); drupal_set_message($pr); /* $node->content['foobargoo'] = array( '#value' => 'yes', '#weight' => 5 ); $node->content['offer_maker'] = array( '#value' => _bidding_offer_maker($node), '#weight' => 3 ); $node->content['all_bids'] = array( '#value' => _property_bid_viewer($node), '#weight' => 2 ); */ $node->content['monkey_butt'] = array( '#value' => 'plop on the head', '#weight' => 1 ); $node->content['bid_data'] = array( '#value' => _bid_data($node), '#weight'=> 5 ); return $node;}