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.
Here is a patch that add an option 'Use Drupal's taxonomy term path to create breadcrumb links'
if you have selected 'Set the breadcrumb for the term parents' on a Taxonomy: Term ID (with depth) argument.
If unchecked, the breadcrumb will be created as views normally creates it.
If checked, the breadcrumb is created by using the function taxonomy_term_path.
This is useful if you are using any modules that modify the taxonomy term path using hook_term_path, for example the taxonomy redirect module.
Comment | File | Size | Author |
---|---|---|---|
#2 | views_taxonomy_term_path_2.patch | 2.39 KB | Agileware |
views_taxonomy_term_path.patch | 2.12 KB | Agileware | |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedI like this patch; however I believe you need to make sure the option is listed in the option_defaults()
Comment #2
Agileware CreditAttribution: Agileware commentedTook me a while to get back to this.
Hopefully I've understood your request correctly.
This patch will also apply to 6.x-3.x-dev with an 8 line offset on the modules/taxonomy.views.inc file.
Comment #3
Agileware CreditAttribution: Agileware commentedChanging version
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted to all branches.
Comment #6
ISPTraderChris CreditAttribution: ISPTraderChris commentedManually patched this to Views 2.6 as I needed this functionality - works great!