Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / draggableviews / README.md
1 INTRODUCTION
2 ------------
3
4 This module provides dragging entities and saving their order.
5
6
7 REQUIREMENTS
8 -------------
9
10 Views, Views UI, Filter, User, System module enabled.
11
12
13 INSTALLATION
14 ------------
15
16 Enable this module from extend list page /admin/modules.
17
18
19 CONFIGURATION
20 -------------
21
22 1) Activate Draggableviews module at /admin/modules.
23 2) Create a new view
24     - Goto '/admin/structure/views/add' on your site.
25     - Check off 'Create a page'.
26     - Check off 'Create a block'.
27     - Set the 'Display format' for the page to what you desire.
28     - Set the "'Display format' of" to fields.
29     - Set the 'Display format' for the block to table.
30     - Fill in the rest of the views information.
31     - Click Save & edit button.
32 3) Under the "FIELDS" section, do you see "Content: Title"?  If you do not:
33     - Click 'add' button at the "Fields" section and choose field
34     "Content:title", add and apply.
35 4) Add the Draggableviews Field:
36     - Click Add button at the "FIELDS" section.
37     - At the top of the overlay, Change "For: 'All displays'" to 'This block
38      (override)'.
39       - If you do not do this then the field will be add to all displays and
40       will prevent your page display from using the block display to sort the
41       order.
42 5) Click Add button at the "SORT CRITERIA" section choose field
43 "Draggableviews: Weight", add and choose sort asc, then apply.
44 6) Under the "SORT CRITERIA" section, do you see "Content: Post date (asc)"?
45  If you do:
46     - Click on it.  At the bottom, click the 'Remove' button.
47       - An alternative is to rearrange the "SORT CRITERIA" order, making sure
48       'Draggableviews: Weight (asc) appears first (or on top).
49 7) Save the view and you're done.
50 *Things to confirm after you saved your new view.
51 - In the Administrative Views UI, Go back to your View's 'page' display.
52   -> Click 'Draggableviews: Weight (asc)' under 'SORT CRITERIA'
53   -> You should see:
54   Display sort as:
55   <title of view> (<display title>)
56
57   This should the view and block display you just create.
58
59   FYI - This is also where you can change it to another view.