Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Menu Link Weight

2,842 sites Security covered
View on drupal.org

This module improves the user interface for managing menu links by replacing the standard weight dropdown with an AJAX-powered tabledrag widget. This widget allows users to visually reorder menu links relative to their siblings by simply dragging and dropping them, eliminating the need to manage numerical weight values directly.

This module replaces the standard numeric weight dropdown widget for menu links in the node form with a tabledrag widget that lists all children for the selected parent.

Functionality:
Upon selection of a parent, a tabledrag widget is loaded via AJAX. This lets us reorder the weight of the menu link for the node we are editing relative to its sibling links, as well as reorder the sibling links themselves. This means we can now ignore any numerical weight values and instead see the position of a menu link relative to other links in the tabledrag widget itself.

Note: Upon node submission, the weights of all the siblings of the currently selected parent will be internally reordered from -50 to -49, to -48 etc.!

Testimonials:
limehouse: "Small but beautifully formed, this module is a really useful improvement to the UI and will help my non-technical users loads!"

Recommended modules:
This module integrates with the Hierarchical Select Menu module (D7) and Client-side Hierarchical Select (D8), which allows for selection of a parent link using an hierarchical select widget. This can be useful when managing large menu trees.

In D8, the Client-side Hierarchical Select widget can be enabled at admin/config/user-interface/menu-link-weight.

Branches:

  • 8.x-1.x: Uses the core menu_ui panel for placing nodes in a menu
  • 8.x-2.x: Changes the menu placement operation to be a standard node field that can be placed in the node form. Requires menu_link field and for the Menu link field to be called field_menulink

Activity

Total releases
1
First release
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
8.x-1.0-rc2 Pre-release May 30, 2025