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.
hey there,
I created a view whose arguments are year and month, for nodes to be sorted according to their publication date:
example.com/news/YYYY/MM
month is never supposed to show up on the breadcrumb, since it's the last argument. year, however, may or may not show.
example
address: example.com/news/2012/10
breadcrumb: home > news > 2012
address: example.com/news/2012
breadcrumb: home > news
breadcrumb titles | breadcrumb addresses |
---|---|
Home | <front> |
News | news |
[current-page:url:args:value:1] | news/[current-page:url:args:value:1] |
however, there's not an option to hide the last breadcrumb. is it feasible?
regards,
Luciano
Comment | File | Size | Author |
---|---|---|---|
#1 | custom_breadcrumbs-cb_views_remove_last_crumb-1846926.patch | 2.96 KB | luco |
Comments
Comment #0.0
luco CreditAttribution: luco commentedmore info on breadcrumb settings.
Comment #1
luco CreditAttribution: luco commented... okay, maybe not the most popular issue around.
anyway, here's a patch. apply and run
update.php
to take effect.Comment #2
luco CreditAttribution: luco commentedforgot to assign...
Comment #2.0
luco CreditAttribution: luco commentedremoved empty line at the bottom of the table.