DraggableViews
DraggableViews makes rows of a view "draggable" which means that they can be rearranged by Drag'n'Drop.
For a full description of the module, visit the project page.
Submit bug reports and feature suggestions, or track changes in the issue queue.
Requirements
This module requires the following core modules:
Views, Views UI, Filter, User, System module enabled.
Installation
Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.
Configuration
- Activate Draggableviews module at
/admin/modules
. - Create a new view
- Goto
/admin/structure/views/add
on your site. - Check off 'Create a page'.
- Check off 'Create a block'.
- Set the 'Display format' for the page to what you desire.
- Set the "'Display format' of" to fields.
- Set the 'Display format' for the block to table.
- Fill in the rest of the views information.
- Click Save & edit button.
- Goto
- Under the "FIELDS" section, do you see "Content: Title"? If you do not:
- Click 'add' button at the "Fields" section and choose field "Content:title", add and apply.
- Add the "Draggableviews: Content" Field:
- Click Add button at the "FIELDS" section.
- At the top of the overlay, Change "For: 'All displays'" to 'This block (override)'.
- If you do not do this then the field will be add to all displays and will prevent your page display from using the block display to sort the order.
- Click Add button at the "SORT CRITERIA" section choose field "Draggableviews: Weight", add and choose sort asc, then apply.
- Under the "SORT CRITERIA" section, do you see "Content: Post date (asc)"?
If you do:
- Click on it. At the bottom, click the 'Remove' button.
- An alternative is to rearrange the "SORT CRITERIA" order, making sure 'Draggableviews: Weight (asc) appears first (or on top).
- Save the view and you're done.
Things to confirm after you saved your new view.
- In the Administrative Views UI, Go back to your View's 'page' display.
Click 'Draggableviews: Weight (asc)' under 'SORT CRITERIA'
You should see:
Display sort as:
<title of view> (<display title>)
- In the Administrative Views UI, Go back to your View's 'page' display.
Click 'Draggableviews: Weight (asc)' under 'SORT CRITERIA'
You should see:
Display sort as:
This should the view and block display you just create.
FYI - This is also where you can change it to another view.