One of our customers asked how to highlight an active menu item in Drupal and how to keep it highlighted once it has been clicked.
In this tutorial, you will learn how to achieve this goal using the "Menu Trial by Path" and "Pathauto" contrib modules.
In this example, we're going to use a site that has a main menu with different regions e.g. Alaska, California, Pacific. There is also a secondary menu, customized for each geographical region. So we have the following URL structure:
example.com/regions/alaska (Main Navigation)
example.com/regions/alaska/al-link-1 (Secondary Navigation)
[[ This is a content summary only. Visit
http://OSTraining.com for full links, other content, and more! ]]
Published on August 30, 2018 03:57