Removed the body field in nodes of type person
This commit is contained in:
parent
55692f7fa4
commit
6e1858d531
3 changed files with 2 additions and 15 deletions
|
@ -109,14 +109,5 @@ function theme_stormperson_view($node, $teaser = FALSE, $page = FALSE) {
|
|||
);
|
||||
}
|
||||
|
||||
# $node->content['body_field'] = array(
|
||||
# '#prefix' => '<div class="stormbody">',
|
||||
# '#suffix' => '</div>',
|
||||
# '#value' => theme('storm_view_item', t('Description'), $node->content['body']['#value']),
|
||||
# '#weight' => module_exists('content') ? content_extra_field_weight($node->type, 'body_field') : -18,
|
||||
# );
|
||||
|
||||
unset($node->content['body']);
|
||||
|
||||
return $node;
|
||||
}
|
||||
|
|
Reference in a new issue