I'm using Node Order 7.x-1.5 with Drupal 7.50 and all is going well with one exception. Whenever a new node is created and tagged with the associated taxonomy it shows first in the list. All of the rest of the nodes stay in their correct order but the new node shows at the top. Is there any way of changing this?

When I look at the 'Order Nodes' tab and show the weight column the new node always gets a weight one value lower than the previous lowest placing it at the top. Is there a way of perhaps making a default value for new nodes? I see a way of giving content types a default weight via the Weight module but this module uses a different weight so that really doesn't help me out. Perhaps I'm missing something. Any help would be appreciated.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

spinsheet created an issue. See original summary.

dieuwe’s picture

Component: Miscellaneous » Code
Category: Support request » Feature request

This is done by the nodeorder_add_node_to_list() function at L797 of nodeorder.module.

It specifically tries to add items to the top. We could add a setting that might try to do the opposite (add to bottom) or give a specific weight as a default like you are recommending.

I'll add this feature to my list, but chances are it will be a long time before I get around to this. Patches welcome.

Gopinath Dhayalan’s picture

Hi dieuwe,

I have fixed this issue and created a patch file for this changes. please review.

Gopinath Dhayalan’s picture