Panopoly Core has a feature to add the current page title to the end of all breadcrumb pages.
However, on taxonomy term pages, it confusingly puts the current page title before the parent page title:

| Comment | File | Size | Author |
|---|---|---|---|
| #4 | panopoly_core-taxonomy-breadcrumbs-3194807-4.patch | 2.23 KB | cboyden |
| #3 | panopoly_core-taxonomy-breadcrumbs-3194807-3.patch | 2.36 KB | dsnopek |
Comments
Comment #2
dsnopekThe problems seems to involve Panelizer, because the breadcrumbs appear in the correct order if the taxonomy term page isn't panelized. So, somehow, panopoly_core's breadcrumb magic in
hook_init()is running before Panelizer is adding the parent term to the breadcrumbs, and showing them out of order.Here's a patch that moves the breadcrumb magic from
hook_init()tohook_preprocess_page()which will happen right before the breadcrumbs are rendered, and hopefully be able to put the page title as the last item in the breadcrumb, without any other modules putting other stuff after it.Comment #3
dsnopekHere's a new patch that makes extra sure that it's the last preprocess hook to run, to try and prevent issues if other modules are manipulating breadcrumbs in
hook_preprocess_page().Comment #4
cboyden commentedUpdated the above patch to apply to panopoly_core instead of the fully-built distribution.
Comment #5
cboyden commentedWe've been using this for a while and it's working as expected.
Comment #7
dsnopekThanks for testing! Committed :-)