When I try to customize a content administration page view and add a bulk operation to publish, unpublish, or delete, and also utilize draggable views to sort nodes, the whole view breaks, neither bulk operation nor draggable view work properly. Meaning, I cannot change the order nor execute bulk operations.

I searched the issues for Draggable Views and could not locate a similar one. Apologies it the issue has been reported before.

Thanks

CommentFileSizeAuthor
#14 vbo+draggableviews-1222742-14.patch2.13 KBlarowlan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bojanz’s picture

The VBO field just adds a checkbox that points to the entity id, so it should work if DraggableViews works.

awm’s picture

I did try to work it out without any success. Draggable views is most likely the problem. someone else had the same issuehttp://stackoverflow.com/questions/3492336/views-bulk-operations-draggable-views

philipz’s picture

It is now possible to create a Draggable Table view (DraggableViews format) and add the VBO field.
Ordering of the nodes works as it should but selecting nodes and executing a VBO operation does nothing - just reloads the page.
I'll try to look into that a bit. It seems so very close to working solution.

ygerasimov’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Category: bug » feature

If this functionality will be implemented it will be done in 7.x-2.x branch.

Marking #1410144: Views Bulk Operations integration as duplicate of this issue.

bkosborne’s picture

+1 for having this integration work. If this was available, it would allow developers to create some slick content management screens. For instance, I often use a content type to manage "slider images" that display on a homepage of a website. The content type just has a field for an image and a field for where it links to. I always try to come up with a good way for content managers to manage the creation/editing/sorting of these slider nodes. If VBO + Draggable Views played nicely, it would be possible to have one management screen for this.

bkosborne’s picture

FYI - I'm using dev version of Draggable views and VBO 3.0-beta3. I was very easily able to get VBO working, but when I add the VBO field, the "save" button for the sorting order doesn't appear for draggable views. I wonder why that could be? This seems to be the opposite problem of #3

jamix’s picture

I'm experiencing the same problem as bkosborne in #6 with Views 7.x-3.1, VBO 7.x-3.0-rc1 and DraggableViews 7.x-2.x-dev. The DraggableViews "Save" button disappears whenever the VBO field is added to the view. Hopefully this can be fixed soon!

zilotvn’s picture

A temporary solution for this problem before the DraggableViews core fixed:
+ At the Fields pane of VBO view. Click to the link "Bulk Operations: content". Check to "Save content (node_save_action) "
+ Any time you move nodes up or down. Check those nodes and choose Save content at the operation pane

ygerasimov’s picture

Here is article with instructions to integrate http://rowlandsgroup.com/articles/2012/02/lee-rowlands/getting-views-bul... Lets have patch now.

bojanz’s picture

Ah, I see the problem now.

Wait on me for this one.
I need to fix VBO not to kill the "Save" button when there are other Views Form handlers on the same View.
After I'm done, there might be need anything else to be done.

ygerasimov’s picture

Thanks @bojanz? Please let me know when I should check compatibility again.

bojanz’s picture

Category: feature » support
Status: Active » Fixed

Okay guys, just committed a fix to VBO: #1477108: Make VBO compatible with other Views Form handlers on the same View.
Draggableviews should now work out of the box.

While testing noticed that while the Draggableviews code is okay, it could use some polish.
Here are the "followup" issues:
#1477132: Stop using hook_views_form_submit(), move code to a proper submit callback
#1477134: ID generation causes a problem when the views form fails validation
#1477136: Reverse the order of label and group in the field name

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

larowlan’s picture

Here's the promised draggableviews patch, although probably not needed anymore

sinasalek’s picture