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 see the picture on the project page. How do I do that?
Is using Flag Weights to let users organize their flagged content as in the picture there actually possible as it is now?
Comment | File | Size | Author |
---|---|---|---|
#3 | draggableviews.inc_.patch | 1.58 KB | lyricnz |
Comments
Comment #1
lyricnz CreditAttribution: lyricnz commentedWell, I've done it here (the screenshot is real), but it currently requires hacking Draggable Views to accept weights in non-CCK fields. I haven't had time to come up with a clean way to do this, but the maintainer of that module has expressed an interest in adding this support when I do.
See #317400: Support non-CCK weights.
Comment #2
OneTwoTait CreditAttribution: OneTwoTait commentedDarn... I can't really "hack" anything.
Comment #3
lyricnz CreditAttribution: lyricnz commentedWell, here's my hack to draggableviews.inc, though if you can't code, it's not going to help you too much. I didn't want to build any flag-specificness into the hack, so the patch lets other modules do the actual save, via a hook_draggableviews_save_hierarchy($view, $info).
Then, in your own module, you need to implement this. Something like:
Sorry, I don't have time to explain much more than that right now!
Comment #4
lyricnz CreditAttribution: lyricnz commentedSupport for this is in the -dev versions of both this module, and Draggable Views (you need the -dev versions of both).
Comment #5
jjbarrows CreditAttribution: jjbarrows commentedhi,
i've installed the -dev veriosn of both, but now the drag handles have vanished.
(i did have draggable flag'ed lists before, using draggable table, filtered by flags and flag users, but something changed recently and drupal crashes when a user tries to log in)
-joseph
Comment #6
lyricnz CreditAttribution: lyricnz commentedSorry, I have no idea. I have had reports of success from other users. If your Drupal install is crashing you may have bigger problems than these module.
Comment #7
jjbarrows CreditAttribution: jjbarrows commentedthere were much more major problems with the drupal install, but yeah! i have fixed them now.
thanks for the great module! i love it
-joseph
Comment #8
looplog CreditAttribution: looplog commentedI've reopened this issue rather than open a new one as my issue is the same and the actual documentation issue remains unfixed. After trying for a couple of hours to get draggableviews to work with flag weights I've reached a dead end. I tried the steps listed in the draggableviews issue queue as follows:
This does not seem to work. If somebody who has this combination working could post some detailed step by step documentation it would be greatly appreciated. In particular, the instructions above do not detail what to place in the draggableviews style settings.
Comment #9
lyricnz CreditAttribution: lyricnz commentedSee http://drupal.org/node/356781