I'm trying to figure out a way to have a node build it's breadcrumbs based on the parent node's breadcrumb trail as opposed to the whole menu tree. If that makes no sense :-) i'll try to demonstrate below.

Primary Links
------------

Grandparent 1
-- Parent 11
---- Child 111
------ Grandchild 1111
Grandparent 2
-- Parent 21
---- Child 211
------ Grandchild 2111

So the breadcrumbs for Grandchild 1111 would be:
Home > Grandparent 1 > Parent 11 > Child 111 > Grandchild 1111

Now... if I create a custom (path) breadcrumb for Child 211 to basically ignore Grandparent 2 it would look like:
Home > Parent 21 > Child 211

Now the tricky question is for Grandchild 2111. I would like the breadcrumb to be:
Home > Parent 21 > Child 211 > Grandchild 2111

However it ends up being:
Home > Grandparent 2 > Parent 21 > Child 211 > Grandchild 2111

I realize I could make a custom path breadcrumb for Grandchild 2111 as well... but in reality there will be a lot more nodes that would be impossible to create custom breadcrumbs for.

So my question ends up being... is there a way to use the menu hierarchy and incorporate any other custom defined breadcrumbs?

Comments

caschbre’s picture

I guess another way to ask this is whether or not there is a way to keep Grandparent 2 out of any breadcrumbs?

lamp5’s picture

Issue summary: View changes
Status: Active » Closed (outdated)