This is not really a feature request but more a howto style question:
Would it be possible to somehow hack the node.module in Drupal 4.6.2 so that you can change weights from the content overview page admin/node
It would be something like this (lines 909-919 Drupal 4.6.2 node.module):

  $header = array(NULL, t('Title'), t('Type'), t('Author'), t('Weight'), t('Status'), t('Operations')); //added t('Weight'),

  $destination = drupal_get_destination();
  while ($node = db_fetch_object($result)) {
    $rows[] = array(form_checkbox(NULL, 'nodes]['. $node->nid, 1, 0),
                    l($node->title, 'node/'. $node->nid) .' '. theme('mark', node_mark($node->nid, $node->changed)),
                    node_invoke($node, 'node_name'),
                    format_name($node),
                    l('weight', $node->weight, variable_get('weight_range', 20)), //I'm not sure how to pull the weights for the node and be able to change it like appears on node/add/story
                    ($node->status ? t('published') : t('not published')),
                    l(t('edit'), 'node/'. $node->nid .'/edit', array(), $destination));
  }

Comments

harry slaughter’s picture

Assigned: Unassigned » harry slaughter
Status: Active » Closed (duplicate)

you definitely don't want to edit node.module for this (or pretty much any other) behavior. that's what the Drupal API is for!

I'm going to try to add this functionality.

see: http://drupal.org/node/52176