I cannot see drag-handles anymore.
No matter what options I choose, I can't seem to get the drag handles viewable. They worked the very first time I used this module. Since then, I have tried to uninstall/reinstall this module, maybe not completely successfully, as described in this post: http://drupal.org/node/1101504
Other than "Show input fields?" what other factors control the visibility of the drag-handles?
I have seen this warning, and I follow the directions, both ways, neither produces the handles for me:
"Display "Defaults": Draggableviews: The drag-handles will be attached to the first field. But the currently configured first field will not be shown. Move the currently configured first field to another position or choose Show input fields? on the settings page."
As well, if I try to just use the number fields to sort with, they do not work at all (ie no changes to sort happen no matter what numbers I choose). This makes me feel like the issue is higher up and has to do with the uninstall/reinstall problem mentioned above.
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | Screenshot - 08092012 - 04:43:33 PM.png | 63.56 KB | kenorb |
| #19 | Screenshot - 08092012 - 04:35:11 PM.png | 77.59 KB | kenorb |
| #18 | Screenshot - 08092012 - 12:13:00 PM.png | 315.2 KB | kenorb |
Comments
Comment #1
crizdo you use the order field provided by draggableviews?
Comment #2
Cablestein commentedYes, I have:
-"DraggableViews: Order" in Fields
-"DraggableViews: Order asc" in Sorting
-"Style: Draggable Table" in Basic Settings
-"Order Field: Order" in Basic Settings/Style Options
-"Show input fields?" checked in Basic Settings/Style Options
What else should I look at?
I do see the output with my rows, with the sort numbers, and I get no warnings.
Comment #3
crizIs the drag feature working on other pages, e.g. the views UI sorting?
Comment #4
Cablestein commentedYes, drag works on the Views field sorting, for example.
As well, for example, drag works when I edit a Drupal menu too.
Comment #5
jludwig commentedThis may sound dumb, but have you set the proper permissions to use it? I spent a good two hours trying to figure out what I was doing wrong before realizing I hadn't checked the 'Allow Reordering' box.
Comment #6
ericaordinary commentedI had the same issue and it took me ages to realise I had to specify an Order field under "Style options: Draggable Table Settings". Adding the order field as an order field gave me access to the drag handles.
Comment #7
ericaordinary commentedAnd I just read further and see you already have that - so I guess my problem was much simpler to solve than yours!
Comment #8
escribanoruben commentedI have the same problem. :,(
I installed the development version but it still does not work
Comment #9
damd commentedSame problem with the development version for D7, I haven't tried any other versions.
Edit: Ignore this, it was an error on my side.
Comment #10
rogerpfaffcould you please share the solution as we might do the same errors. I'm running in the same issue without an idea.
Comment #11
damd commentedrogerpfaff: I wish I could tell you specifically what it was, but it was some time ago now. Basically I had misunderstood how DraggableViews worked in general. My setup was simply incorrect.
Comment #12
rogerpfaffdamd: yes, there is some confusing setup going on with the draggable views but i was able to manage it. BUT i forgot too how I did it.
Comment #13
shunting commentedStill cannot see dragger handles. Although "Weight"-style numeric dropdowns show, they do not save.
6.20. Garland. Core plus CCK stock + views.
Permissions set to "Allow Reordering."
No errors in the logs. No messages on the JavaScript console.
Caches cleared in the database (ie not with devel).
Draggers work in other parts of the install, for example taxonomy.
Installation per the README: Draggableviews:Order is added in the Fields section. Draggable Table is enabled in as the style plugin. Order is enabled in the style plugin settings. The handler is set to Native.
In addition, the Sort field is set to Draggableviews: Order ascending. In addition, Draggableviews:Order is not the first field.
I tried displaying a custom content type with draggable views set as above, and tried with page as well. No joy.
I also added an integer field to the custom content type, enabled that in the style plugin settings, and set the handler to CCK. No joy.
Then I did all this with 6.x-3.x-dev. No joy.
What is the combination of settings that will enable this module to work? I wouldn't mind even using the weight-style dropdowns if I could only save a result.
Comment #14
clockwood commentedSame here. Spent about an hour trying different config options. I would suggest updating the Documentation to add this step to save user frustration.
Great module, though. Thanks for developing it.
Comment #15
jnettikI got tripped up as well by the permission for this module. I guess my question is why is that needed? I would assume more times than not, if I'm creating a draggable table then I want it draggable by anyone who can see that page, right?
But still is an amazing module. Thank you.
Comment #16
BrianLewisDesign commentedI can't find "Allow Reordering" or "Permissions" to enable the drag handles. I have non-functional sort select dropdowns on my CCK images. Multiple images in one node. (D6, Views 3).
... Just unchecked CCK grouping inside: Views > Fields > Content: image > [ ] Group multiple values .
And, enabled the "DraggableViews CCK handler" module.
Functional select dropdowns now, no draggable handles still. Good enough.
Comment #17
harry slaughterFYI, 'Allow Reordering' is a user permission, configured at: admin/user/permissions.
Built a draggable view on my local box where I am user 1 (all permissions), then pushed it out for testing and wasted an hour figuring out why it didn't work. My role on the dev site didn't have this permission set.
Comment #18
kenorb commentedI've the same problem, sometimes drag-handles appears, I change one option and sometimes not.
I'm using it as admin, so the permission should be fine.
So I'll share my experience.
What I found, there are some conditions which are failing:
File: draggableviews_theme.inc
In here, my $info is already NULL (draggableviews_info property is NULL).
So I'm checking the code, which is responsible for draggableviews_info property.
File: draggableviews.module
There is no $info['order'] defined.
Note, that I've two sorts in View. Node:Title and DraggableViews:Order:asc.
See my configuration in the attachment.
So lets see _draggableviews_info() function:
File: draggableviews.inc
$options['tabledrag_order'] in that function contains:
So I assume that I've no field selected for ordering, means no drag-handles will appears.
Ah, ok.
Let's select 'Order Field:' in 'Style: Draggable Table' settings.
I've added 'DraggableViews: Order' for that, so I'll select this field.
When selected, I've now the following error:
My first field is: "DraggableViews: Order Order " so I don't understand this message exactly what it means.
So I've moved "DraggableViews: Order Order" field to not be first (if I understood correctly).
Now I've this error:
My current sorts are:
I'm following this error message, so I'm moving my "DraggableViews: Order asc " sort to the first position.
I'm saving the view now, now without errors, the results?
I'm having drag-handles !!! :)
I'm not quite understand when does it work exactly and when doesn't, because I've tried many configuration before even this one which I've now (when it works), and previously it wasn't working. Weird.
Comment #19
kenorb commentedSorry, this is the correct attachment.
Comment #20
kenorb commentedNow this is the configuration which works.
In 'Style: Draggable Table' settings I've selected 'Order Field:' to my 'DraggableViews: Order Order' field.
See the attachment.
Comment #21
kenorb commentedComment #22
istryker commentedDrupal 6.x is no longer supported. Closing issue.