Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download menu_trail_by_path-8.x-1.2.tar.gztar.gz 14.13 KB
MD5: 3a1d3b585f7229c25f5d217abb3725e3
SHA-1: 059865407746d073bbeee60bb5566203887962e2
SHA-256: c1ab76f0e42f4857d583d7e02879c77bb1685a5eae6957ddb74d283e475048f1
Download menu_trail_by_path-8.x-1.2.zipzip 21.9 KB
MD5: 72d702a04c8e2f0af28eaeea3629e7a5
SHA-1: be2a067da1cb125d658ce0da9c7a2add3989b91f
SHA-256: a027dd6eb02f6a9a32b13d94986c364757ae975a007d23752421dc640ca4523e

Release notes

Bugfixes and performance improvements.

Contributors (9)

pjbaert, cebasqueira, ravi.shankar, alonaoneill, mbovan, Berdir, Ginovski, yongt9412, jeroendegloire

Performance improvements

This module now has two settings that can improve performance.

* Trail source allows to control whether the path-based active trail applies to a menu, the default implementation from core is used or none, useful for footer navigation that does not require an active trail to be visible. This can be set as a global default and overriden per menu.
* The max path parts allow to limit the number of path parts that are relevant for the active trail. E.g., with a path structure like /main-section/sub-section/date/article-title and only the sections are menu links, it can be limited to the first two, saving extra lookups for parts that will never have a matching menu link.

Changelog

Issues: 3 issues resolved.

Changes since 8.x-1.1:

Bug

Feature

Created by: Berdir
Created on: 11 Dec 2019 at 21:41 UTC
Last updated: 11 Dec 2019 at 21:43 UTC
Bug fixes
New features

Other releases