--- announcements/announcements.module 2008-10-06 16:10:10.000000000 +0200 +++ htdocs/testing/pre/modules/announcements/announcements.module 2009-01-31 20:42:38.000000000 +0100 @@ -284,13 +284,12 @@ function announcements_form(&$node) { '#default_value' => $node->title, '#description' => t('Title of the announcement'), '#required' => TRUE, - '#weight' => -10, ); $form['publication'] = array('#type' => 'fieldset', '#collapsible' => FALSE, '#title' => t('Publication dates'), - '#weight' => -8, + '#weight' => 1, ); $form['publication']['publish_date'] = array( @@ -321,12 +320,12 @@ function announcements_form(&$node) { '#rows' => 3, '#description' => t('Short summary of the full announcement.') . $search_text, '#required' => TRUE, - '#weight' => -6, + '#weight' => 2, ); $form['body_field'] = node_body_field($node, $type->body_label, $type->min_word_count); $form['body_field']['body']['#description'] = t('Full content for the announcement which is shown with the abstract on the details page'); - +$form['body_field']['#weight'] = 3; $form['#submit'][] = 'announcements_submit'; return $form; @@ -425,6 +424,7 @@ function announcements_view($node, $teas '#weight' => -2, ); } + return $node; }