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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | nodesinblock-expose-weight-field-1613260-1.patch | 657 bytes | jvandooren |
Comments
Comment #1
jvandooren commentedI 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.
Comment #2
jvandooren commentedThis is fixed in my GitHub fork of this module along with some other issues: https://github.com/Ozmodiar/nodesinblock