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.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2777711_new_node_insert_bottom_of_list.patch | 2.18 KB | Gopinath Dhayalan |
Comments
Comment #2
dieuweThis is done by the
nodeorder_add_node_to_list()
function at L797 ofnodeorder.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.
Comment #3
Gopinath Dhayalan CreditAttribution: Gopinath Dhayalan as a volunteer commentedHi dieuwe,
I have fixed this issue and created a patch file for this changes. please review.
Comment #4
Gopinath Dhayalan CreditAttribution: Gopinath Dhayalan as a volunteer commented