Closed (fixed)
Project:
Flag Weights
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2012 at 20:49 UTC
Updated:
28 Apr 2014 at 13:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
henrijs.seso commentedI think this best describes issue. It seems that DraggableViews 2.x has developed little further and Flag Weights needs to catch up.
Comment #2
istryker commentedI've upgraded flag_weight to support draggableviews 2.x. I needed this for my new module - User Priority Ranking
FYI - Draggableviews 2.x now uses Ctools, this patch supports this.
Comment #3
istryker commentedIgnore last patch. There was a syntax error in the flag_weights.module in 1545968-2.patch. There was also a bug I found. To fix this I've extended/added a 'get' class function.
Attached is the new patch applied against master
Comment #4
Andre-Bthank you very much. this patch works. had some trouble to apply this patch in my local environment.
instructions to apply this easily:
1. open a terminal
2. navigate in the parent folder where you want to store the flag_weights module (can be inside the drupal sites/all/modules but does not have to)
4. if you already cloned the module in sites/all/modules your good to go, elsewise copy the content (maybe exclude the .git folder) of the flag_weights folder in your current flag_weights module to patch it. (select overwrite files)
Comment #5
dandaman commentedI have tried this on my site and it works as well. Thanks for the patch! It'd be nice if this or something similar gets added soon.
Comment #6
lyricnz commentedTested and committed. Creating a new release.
Comment #7
lyricnz commentedApplied in 84ff325. Thanks!
Comment #9
robin van emden commentedFor this to work with the latest version of Flag with patch from #1877304: Support Flag 7.x-3.x we had to make a change to the patch by replacing $row->flag_content_node_weight with $row->flagging_node_weight in row 25.