Using Custom Breadcrumbs with view modes other than 'Full' results in the breadcrumb not being set. For example, on a site which using Display Suite to create multiple view modes for a content type, a custom breadcrumb is correctly set for the 'Full' view mode of a node of that content type, but not for when another view mode is selected.

Comments

simonminter’s picture

StatusFileSize
new1.37 KB

This patch removes the build mode check, which seems to do the trick.

johan.gant’s picture

Re-rolled patch against 7.x-2.0-alpha3.

johan.gant’s picture

A minor variant on the original matter reported - if you're using display suite the node rules for custom breadcrumb match any node being rendered if simonminter's patch is applied. That's not very handy when rendering some nodes in teaser or other view modes.

As an initial solution, I've patched the admin form to allow you to pick which DS view modes to act on. Not expecting this to be incorporated into the main code stream, but this solves my own immediate issues and it's preferable to reference patch files on d.o from a make file. It might even be useful to someone else... who knows.

lamp5’s picture

Status: Active » Closed (outdated)