DraggableViews makes rows of a view "draggable" which means that they can be rearranged by Drag'n'Drop. This module makes it possible to organize complex structures with just a few clicks. This graceful behavior is implemented as a Views style-plugin (7.x-1.x branch) or form field (7.x-2.x branch).

Have you ever rearranged Blocks?, sorted Taxonomy terms? or reordered Menu items at the Drupal administration pages? All these pages use the tabledrag.js javascript that enables Drag'n Drop on HTML-tables.

With DraggableViews you can apply this tabledrag.js to any Views-generated table.

Of course DraggableViews also cares about how the structure-information gets saved. There are endless possibilities:

  • DraggableViews Native: You don't have to care about this,
  • CCK: You specify the CCK field,
  • or for developers: you build your own handler to save these values elsewhere.

There already exist some very specific handlers. Except Flag Weights they are all part of the DraggableViews package:

  • Flag Weights handler: Integrates with the bookmarks module. Organize your bookmarks!
  • Book handler: Integrates with the book module. Organize your content-table!
  • Taxonomy handler: Integrates with the taxonomy module. Well, you know this from the Drupal admin pages.

7.x-2.x branch

This branch is complete rewrite of the module and uses http://drupal.org/node/769322 Views functionality. So now we can build our draggableviews with adding field. This branch in development status but we very welcome testing and feedback on it. In first instance it won't support building tree structure. Only dragging items for reordering. 7.x-2.x doesn't have upgrade path from 7.x-1.x so please completely uninstall 7.x-1.x version before installing 7.x-2.x.

Features of 7.x-2.x branch

  • Order any type of entity
  • Set different order for different set of arguments
  • Create one view that sets the order, and create as many views as you like that shows that order
  • Use core tabledrag.js or jQuery UI draggable javascripts to set the order

Please check README.txt for more information.

Development status

Main development branch is 7.x-2.x. The branch 7.x-1.x is going to be deprecated after some time. So please try 7.x-2.x branch first for your projects.

More information

DraggableViews-related tutorials and incitements I found on the internet:

  1. Beginners: I just found this awesome tutorial on the internet: Drupal: set up a draggable card sort view - Part 1. (http://thedesignspace.net/MT2archives/000666.html)
    Thanks to the author(s).
  2. Draggable Views, a UI sanity saver! (http://patrickteglia.com/node/60)
  3. DraggableViews and CCK fields by Johan Falk (http://nodeone.se/blogg/nodeone-talks-drupal-draggableviews-and-cck-fields)

You may wish to read the comparison page for node ordering modules.

This project is provided by zites.net internet solutions and was initially sponsored by Netidee.at.

Downloads

Recommended releases

Version Downloads Date Links
6.x-3.5 tar.gz (38.03 KB) | zip (51.62 KB) 2010-Oct-29 Notes

Development releases

Project Information


Maintainers for DraggableViews

  • ygerasimov - 43 commits
    last: 1 week ago, first: 45 weeks ago
  • dixon_ - 2 commits
    last: 1 year ago, first: 1 year ago
  • sevi - 165 commits
    last: 1 year ago, first: 3 years ago

Issues for DraggableViews

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 28 Feb 09