DrupalCustom

print_node

Feb 22nd, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1.  
  2.   foreach ($result as $record) {
  3.   foreach($node as $inner){
  4.            
  5.            
  6.             drupal_get_messages();
  7.             //drupal_set_message("RecordArray>".$record->node_body);
  8.             drupal_set_message("RecordArray>".$inner);
  9.             drupal_goto("user");
  10.            
  11.            
  12.  
  13.         //$inner->body['und'][0]['value']= $record->node_body;
  14.        //$inner->body['und'][0]['value']= 'Test';
  15.         $inner->title = $record->node_title.'French';
  16.    
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment