Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have day view located at "calendar/day/2012-10-19." calendar/day receives the active-trail class but the page with the argument does not.
Comment | File | Size | Author |
---|---|---|---|
#6 | support_views_arguments-1704846-6.patch | 1.18 KB | BWPanda |
Comments
Comment #1
lencrockett CreditAttribution: lencrockett commentedI just realized this same thing. I would love to see support for views arguments in trails as many sites are designed this way. Unfortunately as it is I cannot get much use out of an otherwise great module.
Comment #2
SeriousMatters CreditAttribution: SeriousMatters commentedIf the current page is /calendar/day/2012-10-19, these menu links get active-trail
/calendar
/calendar/day
/calendar/day/2012-10-19
I don't think menu link can have % in its path like /calendar/day/%. Please clarify what do you meant by 'views arguments support'.
Also note that list of clickable items created by Views is not Drupal menu and will not get active-trail at all.
Comment #3
brentratliff CreditAttribution: brentratliff commented/calendar/day/% is the exact case I'm talking about. That explains it I guess.
Comment #4
akalam CreditAttribution: akalam commentedI think this is a views issue. See https://www.drupal.org/node/1689682
Comment #5
grathbone CreditAttribution: grathbone commented@desarrollo2.0 The Views issue that you reference is actually different and has been fixed for a while now.
If the Menu Trail by Path breadcrumb is disabled, the Views breadcrumb works perfectly fine with Contextual Filters. When MTbP breadcrumb is enabled, every breadcrumb item turns into the default View title.
In example:
Path: blog/articles/2015/05/07
Breadcrumb (MTbP disabled): Home > Blog > Articles > 2015 > May > 07
Breadcrumb (MTbP enabled): Home > Blog > Blog > Blog > Blog > Blog
Comment #6
BWPanda CreditAttribution: BWPanda commentedHere's a patch that seems to work in my situation but needs testing to make sure it works in other situations too.
Comment #7
davy-r CreditAttribution: davy-r commentedComment #8
davy-r CreditAttribution: davy-r commentedThis should now be fixed in 7.x-3.x-dev.
Comment #9
davy-r CreditAttribution: davy-r commentedJust successfully tested