This project is not covered by Drupal’s security advisory policy.

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.

Project information

Releases