How to add hierarchical taxonomy terms in breadcrumb?
Answer: There are at least two ways.
- Use "parent" tokens (for example
%node:field-category:parent:parent:parent:i18n-name
) as many times as many deep levels you want.
Read more here. - Use magic token "pb-join" to automatically add all taxonomy hierarchy to breadcrumbs (for example
%node:field-category:pb-join:name
and%node:field-category:pb-join:url
).
Read more here.
Why Path Breadcrumbs for path content/testalias doesn't work?
Answer: Path Breadcrumbs works only with system Drupal paths. Not aliases.
Most common paths: node/7 for node 7, taxonomy/term/%term for any taxonomy term.
How can I know if it is system path or alias?
Answer: You can find out system path with Devel module's “Menu item” functionality. Just go on page:
devel/menu/item?path=any-path
where any-path is path or alias for which you want to know system path.
How to create different breadcrumbs for different node types?
Answer:
- Use the same system path node/% (for example node/%product for product content type (PB1) and node/%node for all other nodes (PB2)).
Note: Context name (%product, %node, %whatever) doesn't matter and can be anything you want.
- Add selection rule to Path Breadcrumb for path node/%product (PB1):
“Node: Bundle” is bundle “Product”. - Reorder Path Breadcrumbs on page admin/structure/path-breadcrumbs to set up PB1 before PB2.
How to translate Home link?
Answer: Use i18n_variable module from i18n package. More info with screenshots.
How can I know which Path Breadcrumbs item is shown on page?
Answer: Disable Path Breadcrumbs cache and use Contextual links to go to current Path Breadcrumbs item.
If you don't see “Edit path breadcrumbs” link in Contextual menu near breadcrumbs area, it means that Path Breadcrumbs doesn't work on this page.
Read more here.