| 1 |
*******************************************************
|
| 2 |
INSTALL.txt for weight.module for Drupal
|
| 3 |
by Jeff Robbins ::: jeff /@t\ jjeff /d0t\ com
|
| 4 |
*******************************************************
|
| 5 |
|
| 6 |
INSTALL:
|
| 7 |
|
| 8 |
Put the module in your modules directory.
|
| 9 |
Enable it.
|
| 10 |
Go to admin/settings/weight/setup
|
| 11 |
and click "Setup Database".
|
| 12 |
Go to admin/settings/weight
|
| 13 |
and select the weight range as well as which node
|
| 14 |
types should display weight.
|
| 15 |
Done.
|
| 16 |
|
| 17 |
|
| 18 |
UNINSTALL:
|
| 19 |
|
| 20 |
Go to admin/settings/weight/setup/disable
|
| 21 |
and click "Remove Weights".
|
| 22 |
Disable the module.
|
| 23 |
|
| 24 |
TO CREATE AN ORDERABLE VIEW:
|
| 25 |
|
| 26 |
Create a view as normal with a "page" display
|
| 27 |
Change the view style to "weight changer"
|
| 28 |
Include Field Weight.
|
| 29 |
Sort by Weight DESC.
|
| 30 |
Ensure only appropriate roles have access to the view.
|
| 31 |
Load up the view, reorder, and save!
|