Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Active menu item by path

No security coverage Under active development 33 sites

This module automatically highlights the correct menu item based on the current URL, making it easier for users to see where they are on your site. It works with any menu structure and can be configured to select which menus should have this feature.

Active menu item by path simplifies Drupal navigation by automatically highlighting active menu items based on the current path, enhancing user experience.

Features

  1. Compatible with all menu templates and components.
  2. Configuration page for selecting menu items to apply active class.
  3. Easy-to-use interface for seamless integration with any Drupal site
  4. Supports complex multi-level menus and simple navigation structures.
  5. Flexible and scalable solution for dynamic menu management.

Installation

The installation of this module is like other Drupal modules, Install the module, and enable it.

Post-Installation

After installing the module, developers can navigate to "/admin/config/content/active-menu-settings" to configure menu selection. Additionally, ensure the "Active menu item by path" permission is granted for access control.

Similar projects

Menu Trail By Path automatically sets the active-trail on menu items based on the current URL. For example, when visiting "yoursite.com/blog/category1/article1", menu items with corresponding paths will receive the active-trail class and expand accordingly. However, it is specifically designed to function within the menu.html.twig template.

Drupal 10 · not 11

Ask your assistant about Active menu item by path

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

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Mar 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.3.1 Stable 10 Mar 17, 2024
1.2.0 Stable 10 Mar 9, 2024
1.0.0 Stable 9–10 Mar 3, 2024