In Drupal 6, there is no option to remove the 'abstract' field from the node input forms.

The following patch fixes this :

@@ -464,14 +464,12 @@
  * Implementation of hook_form_alter().
  */
 function epublish_form_alter(&$form, $form_state, $form_id) {
-       if (isset($form['type']) && $form['type']['#value'] .'_node_settings' == $form_id)
-        {
-          $form['submission']['epublish_abstract_'. $form['type']['#value']] = array(
+   if ($form_id == 'node_type_form') {
+          $form['submission']['epublish_abstract'] = array(
                        '#type' => 'checkbox',
                        '#title' => t('Has abstract'),
                        '#return_value' => 1,
-                       '#default_value' => variable_get('epublish_abstract_'. $form['type']
-                                           ['#value'], TRUE),
+                       '#default_value' => variable_get('epublish_abstract_'. $form['#node_type']->type, TRUE),
                        '#description' => t('Users can enter a brief abstract summarizing the                                              content of each node.'),
                );
         }

Comments

phdhiren’s picture

Status: Active » Patch (to be ported)

yes, this patch works for me

phdhiren’s picture

Status: Patch (to be ported) » Fixed

Committed to latest dev version

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

hannesh’s picture

Version: 6.x-1.0-beta2 » 6.x-1.0

"Committed to latest dev version"
Also on the 1.0 version?