According to the preview image of Nodes in Block, there should be a weight option when you are creating a page to be displayed in a block. I looked for it throughout settings but only found the Queue page which goes against how our User Experience is meant to be. Instead I went into nodesinblock.module and changed $form['nodesinblock']['nodesinblock_weight'] to:

$form['nodesinblock']['nodesinblock_weight'] = array(
        '#type' => 'weight',
        '#title' => t('Weight'),
        '#default_value' => $node_info['weight'],
        '#delta' => 30,
        '#description' => t('Where the node is positioned in the block'),
);

This displays the weight option in Drupal 7. As far as I have tested this appears to work fine.

Comments

jvandooren’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
StatusFileSize
new657 bytes

I also think it would improve the user experience if a user who knows what he's doing has the possibility to set the correct weight without saving the node first. I attached a patch with the above code.

jvandooren’s picture

This is fixed in my GitHub fork of this module along with some other issues: https://github.com/Ozmodiar/nodesinblock