I’m using Drupal 7.5.2 and am attempting to use the Crumbs module (version 7x-2.5) to show parent and child paths in the breadcrumbs trail and it’s not working.
My URL alias structure—which I am attempting to recreate in the breadcrumbs—is as follows:
- My Great Node Pile: A view page that is neither taxonomy term or a node.
- Category: A view page that is connected to the parent taxonomy term.
- Category Child: A view page that is connected to the child taxonomy term.
- Node: The node associated within that parent category and child category.
Only one category—child or parent category—can be associated to a node at any given time.
My “Entity Parent” settings for all node content types is as follows; note all content is based in the path of my-great-node-pile/
which is a stand-alone view that is simply the “home base” for this stuff; it is neither a taxonomy term parent item or a child item:
my-great-node-pile/[node:field_category:parent]/[node:field_category]
So if I have a node that resides in the aliased area of “My Great Node Pile” titled “Cool Stuff” that has this parent/child taxonomy term URL structure; using Pathauto for that so do not take this pseudeo-example 100% literally:
my-great-node-pile/field-category/field-category-child/cool-stuff
Then I would expect my breadcrumb trail to be this:
My Great Node » Category » Category Child » Cool Stuff
But with the default Crumbs settings, this is the bizarre breadcrumb trail I am getting:
My Great Node » Category Child » My Great Node » Cool Stuff
What? If the entity parent is [node:field_category:parent]/[node:field_category]
then why is it apprarently rendering as [node:field_category]/My Great Node
?
Example Note: The names of items here—including tokens—are neutralized to protect anonymity of the project, but I assure you all tokens and examples here are proven to have the values they should have via the output of the Devel (version 7.x-1.5) module.
[node:category]
? I imagine you have a taxonomy term reference field, so it would rather be sth like[node:field-category:1:tid]
.path
from Crumbs from “Disabled by default” to “Enabled” is what solved the problem.