Module Type:
External Support
Views plugin that you to create a view that allows site visitors to rearrange a list of items on the page without admin access. The Video tutorial in the Right Sidebar explains in detail how to set up your views to change the sort order. Step-by-step instructions can be found below.
Configuring Draggable Views
There are 2 main steps to configuring Draggable Views:
- Clone the People Listing View so you have the People View and the People Sorting View.
- Configure with Draggableviews fields.
Cloning the People View
- Clone the People view and rename People Sorting.
- Structure > Views > People > Clone
- Remove all the displays except the People Page display.
- Change the Path settings to /people-sorting.
- Remove the page from the Menu.
- Add Draggableviews: User field to the Field Listing (this gives your listing handles to drag the rows where you want).
- Add Draggableviews: Weight field to the Sort Criteria section.
Adjusting the People View
- Go to the original People View - Structure > Views > People
- Go to Sort Criteria and add the Draggableviews: Weight.
- Save the View.
Changing the Sort Order
Now your view is ready to change the sort order:
- Go to the People page (http://yoursitename.yale.edu/people) and click on the Gear icon in the upper right corner of the People View.
- Select Order View and this will take you to the People Sorting page.
- The handles appear on the page where you can select them and reorder your listing.