Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Canvas interactive toggle 1.0.1 Minor update available for module canvas_interactive_toggle (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Node Weights

1,051 sites Security covered Drupal 10–11
View on drupal.org

The Node Weight module adds a configurable weight field to content types, allowing administrators to define a custom order for nodes. This order can then be used for sorting content in views or custom queries, and weights can be managed on node forms or through a table-drag interface.

Node Weight module provides a weight field that can be added to any content type. The weight field can then be used to provide customized sorting via views or custom query.

Requirements

This module requires no modules outside of Drupal core.

Install

Install the Node Weight module as you would normally install a contributed Drupal module.

Visit https://www.drupal.org/node/1897420 for further information.

Can also be installed via composer:

composer require drupal/node_weight
drush en node_weight

Features

  • Configure/enable node weights for certain content types.
  • Table-drag interface to manage node ordering.
  • Node weight can also be updated on node add/edit forms.
  • Supports translatable node weight field. Store weight per node translation.
  • Leverages Batch API to update node weights.

Configuration

  1. Navigate to Administration > Extend and enable the Node Weight module.
  2. Navigate to Structure > Node Weights.
  3. Enable Node Weight for chosen node types.
  4. Navigate to Structure > Node Weights > Content Type
  5. Arrange nodes in desired order.
  6. Save changes.
  7. Use field_node_weight in Views Sort Criteria or any other entities to sort content.

It is also possible to set weight on content edit form using the node weight field.

Depends on

Dependencies of the latest stable release

  • node Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
3.0.0 Stable 10–11 Apr 25, 2025
3.x-dev Dev 10–11 Apr 25, 2025
8.x-2.7 Stable 8–10 Apr 25, 2025