Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I was following the instructions on http://drupal.org/node/356781
When I went to add "flags: weight" in fields, it gave this error: "An error occurred at http://www.(domain).com/admin/build/views/ajax/add-item/(flag type)/page_1/field."
This is with Views 6.x-2.3, Draggable Views 6.x-3.x-dev and Drupal 6.6.
Comments
Comment #1
dagmarI think that this error is because Flag Weights don't define the set_range() function in draggableviews_handler_flag_weights.inc
Comment #2
sevi CreditAttribution: sevi commentedUnfortunately the current dev-versions are not compatible at the moment. You're right with the set_range() function (but there's also some other stuff). The attached patch fixes this issue temporary.
Greetings,
sevi
Comment #3
dagmarHello Sevi:
I agree. This is not working correctly. Indeed, I can't get this work. (I worked for two hours and... nothing)
I have tested your patch and now weight selects are empties. I think this is because
range (start and end) is never defined.
Do you get this working correctly?. When I click "save" flag weights doesn't
change.
Greetings,
Mariano
Comment #4
dagmarUpdate:
Sorry Sevi, the patch works, I was creating a block instead of a page. For that reason I could not see the results.
Thanks
Mariano
Comment #5
lyricnz CreditAttribution: lyricnz commentedCommitted patch to CVS - http://drupal.org/cvs?commit=183198
Comment #7
mdibrahim CreditAttribution: mdibrahim commentedWhen I went to add "flags: weight" in fields, it gave this error: "An error occurred at /borda1/admin/build/views/ajax/preview/flag_bookmarks4"
This is with Views 6.x-2.2, Draggable Views 6.x-3.2-beta4 and Drupal 6.1.
Here is an image file which show the view of my work.