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:
- 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). - Draggable Views, a UI sanity saver! (http://patrickteglia.com/node/60)
- 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
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Administration, Views
- Reported installs: 10801 sites currently report using this module. View usage statistics.
- Last modified: January 23, 2012