Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Menu Link Weight

Security covered Under active development 2,787 sites

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

Ask your assistant about Menu Link Weight

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

1 tracked project depends on this one

Activity

Tracked releases
4
Tracked since
Feb 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.0-rc2 Pre-release 10–11 May 29, 2025
8.x-2.0-alpha6 Pre-release 8–10 Jun 20, 2024
8.x-1.0-rc1 Pre-release 8–10 Jul 11, 2023
8.x-2.0-alpha5 Pre-release 8–10 Feb 7, 2023