Link Trail By Path

Component ID

2772203

Component name

Link Trail By Path

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

671

Component created

Component changed

Component body

Link Trail By Path sets the active-trail on any link items according to the current url, or any link generated using the l() API function.

For example if you are at yoursite.com/blog/category1/article1, link items with these paths will get the active-trail class on them and expand accordingly.

  • blog
  • blog/category1
  • blog/category1/article1

Link Trail By Path is best used in conjunction with Pathauto.

Related modules