Problem/Motivation
If I use lists, instead of table, I can't get two draggableviews to work on the same page. Only the first list works. I'm using the dev version, with panels.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | multiple_draggableviews_list_not_working-1957656-5.patch | 4.37 KB | istryker |
Comments
Comment #1
arirasekh commentedYes I'm experiencing this issue. Has any progress been made on this?
Comment #2
millenium_11 commentedI have experienced the same issue when trying to implement grouped table view.
I created a view which filters nodes by the Tracks content type and groups them by Album. So finally I got multiple tables with identical ID attribute and the draggable functionality was applied just to the first of them.
The simpliest fix which works for me is to override the ID of the tables on the page.
Comment #3
cmstomI also cannot use multiple HTML lists as draggableviews. Instead I have to change the style to table and then setup my own HTML list in Rewrite Output of the field.
Comment #4
istryker commentedI can confirm multiple list on one page does not work. One list works the other does not.
Comment #5
istryker commentedPatch attached.
Patch is a little confusing as changing the indenting of the javascript file, changes every line.
draggableviews.module
draggableviews_list.js
Patch summary: #1 Change DOM setting from a class value to an array of class values. #2 In javascript process each list form.
Comment #6
istryker commentedI got this working on a normal page with 2 list. If you have another situation, like with panels, and it does not work, then reopen issue.