Explanation:
I have a path /Departments/[dept-name]/[some-info-type] and I would like my Breadcrumbs to display as Home » Departments » [dept-name] » [some-info-type] with the latter being display only (i.e. no link).
This part is easily configured and works correctly with the following settings:
Path Departments/%dept/%type
Arg 1 Taxonomy term: ID
Arg 2 No context assigned
Selection rules set to Context exists and the Breadcrumb set to prepend Home link then:
Departments - Departments
%dept:name - Departments/%dept:name
!type -
I would then ALSO like that when at /Departments/[dept-name] the Breadcrumb displays Home » Departments » [dept-name]
To attempt to do this I have created another path breadcrumb as:
Path Departments/%dept
Arg 1 Taxonomy term: ID
Selection rules set to Context exists and the Breadcrumb set to prepend Home link then:
Departments - Departments
%dept:name -
(Note that I also tried this with Arg 1 set to No context assigned and the last breadcrumb set to !type - )
Regardless the order I set the path breadcrumbs this is not evaluated, breadcrumbs display as expected when viewing the path Departments/%dept/%type, but at path Departments/%dept the Breadcrumb simply shows Home » Departments as per Drupal default.
Comments
Comment #1
kalabroThe best way to fix such issues is to provide steps to reproduce a bug.
Feel free to reopen this issue if bug still exists in latest Path Breadcrumbs and you can provide steps to reproduce the problem.
How these paths are configured in Drupal? Are they system Drupal paths or path aliases? Path Breadcrumbs works only with system paths.
Which context exists? Try to remove this selection rule temporarily.