content['links'] = array( '#prefix' => '', '#weight' => -25, );*/ $node->content['group1'] = array( '#prefix' => '
', '#suffix' => '
', '#weight' => module_exists('content') ? content_extra_field_weight($node->type, 'group2') : -20, ); // Add links to each team member title if (isset($node->members_array) && is_array($node->members_array)) { foreach ($node->members_array as $nid => $name) { $member = node_load($nid); if (($member->type == 'stormperson' && stormperson_access('view', $nid)) || ($member->type == 'stormorganization' && stormorganization_access('view', $nid))) { $node->members_array[$nid] = l($name, 'node/'. $nid); } } $node->content['group1']['members'] = array( '#prefix' => '
', '#suffix' => '
', '#value' => theme('storm_view_item', t('Members'), implode(", ", $node->members_array)), '#weight' => $w++, ); } $node->content['body_field'] = array( '#prefix' => '
', '#suffix' => '
', '#value' => theme('storm_view_item', $type->body_label, $node->content['body']['#value']), '#weight' => module_exists('content') ? content_extra_field_weight($node->type, 'body_field') : 0, ); unset($node->content['body']); return $node; }