nodeorder
The nodeorder module gives users an easy way to order nodes within their taxonomy terms.
By default, the taxonomy module orders listings of nodes by stickiness and then by node creation date -- most recently posted nodes come first.
The nodeorder module gives the user the ability to put nodes in any order they wish within each category that the node lives.
There are two ways that a user can order nodes within a category. The first is to use the "move up" and "move down" links that can be configured to appear on each node (especially useful when looking at lists of taxonomy terms). The second is to use drag and drop, which appears on the administrative listings of nodes in a category.
For a comparison of nodeorder with other node ordering modules have a look at this handbook page: http://drupal.org/node/398508.
Install Nodeorder in Drupal 6
As opposed to the previous version of Nodeorder, it no longer depends on external modules. Instead it uses the drag-and-drop functionality which is already available in Drupal 6.
To install the nodeorder module:
- Put the nodeorder directory in your modules directory.
- Navigate to admin/build/modules and enable the nodeorder module.
- Navigate to admin/user/access and assign one or more roles the right to "order nodes within categories."
Install Nodeorder in Drupal 5
The drag and drop ordering is built upon the jQuery Interface Sortable plug-in and, in Drupal 5.x, depends on the jQuery Update module, the jQuery Interface module, and the jQuery Interface Sortable module.
To install the nodeorder module:
- Put the nodeorder directory in your modules directory.
- Install the jQuery Update, jQuery Interface, and jQuery Interface Sortable modules. Follow those modules' installation instructions and test to make sure they are working. Installing Message Effects will also test jQuery Update and jQuery Interface, so it's not a bad idea to install and test it before continuing to install Nodeorder.
- Navigate to admin/build/modules and enable the nodeorder module.
- Navigate to admin/user/access and assign one or more roles the right to "order nodes within categories."
Using the Nodeorder module
- You may turn on "orderability" on a per-vocabulary basis by visiting your vocabularies' administration pages (admin/content/taxonomy). This module adds a checkbox on the "edit vocabulary" page titled "Orderable" -- it defaults to being unchecked. After checking this box and saving your changes, you'll be able to order nodes that are classified in this category.
- To use drag and drop node ordering, you will find a tab called "order nodes" on any admin/content/taxonomy/VID pages where the vocabulary has been set to orderable.
- Navigate to admin/settings/nodeorder, where you can set some options that determine the way nodeorder works.
- As of release 5.x-1.1 there is Views support for ordering taxonomy views by weight_in_tid.
Technical notes
Upon installation, this module adds a new column (weight_in_tid) to the term_node table. Adding a column to a core table? Are you crazy? Yeah, I guess so ... but it lets us keep the module's code very small since most everything works through taxonomy. Also it helps to avoid an extra join for every node listing.
Please note that the node order is only respected when visiting links that begin with "nodeorder" -- if you visit links that begin with "taxonomy" they will appear in the generic taxonomy order. Since the module implements hook_term_path, the taxonomy links that get printed per node will correctly point to the "nodeorder" space when they are in orderable vocabularies.
Nodeorder was developed by the friendly primates at FunnyMonkey and is co-maintained by pvanderspek.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.0 | 2009-Mar-04 | 17.25 KB | Download · Release notes | Recommended for 6.x | |
| 5.x-1.2 | 2007-Jun-15 | 15.54 KB | Download · Release notes | Recommended for 5.x | |
| 4.7.x-1.0 | 2006-Dec-12 | 14.31 KB | Download · Release notes | Recommended for 4.7.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.x-dev | 2009-May-27 | 17.77 KB | Download · Release notes | Development snapshot | |
| 5.x-1.x-dev | 2007-Jun-19 | 15.53 KB | Download · Release notes | Development snapshot | |
| 4.7.x-1.x-dev | 2006-Dec-10 | 14.31 KB | Download · Release notes | Development snapshot | |
