Active menu item by path
Active menu item by path simplifies Drupal navigation by automatically highlighting active menu items based on the current path, enhancing user experience.
Features
- Compatible with all menu templates and components.
- Configuration page for selecting menu items to apply active class.
- Easy-to-use interface for seamless integration with any Drupal site
- Supports complex multi-level menus and simple navigation structures.
- 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.
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.