Is there anyway to make this work for creating breadcrumbs for views? It works great for nodes but I'm looking for something to do this with views.
Is there anyway to make this work for creating breadcrumbs for views? It works great for nodes but I'm looking for something to do this with views.
Comments
Comment #1
webwriter commentedSubscribe- I need breadcrumbs for Views as well.
Comment #2
eaton commentedJust to be clear, do you mean that you want to create a view at a url like foo/bar/baz, and the breadcrumb trail needs to include 'foo' and 'bar' but it does not, by default?
Comment #3
toddwoof commentedMaybe this is the same question as #1.
I have a view "newsletters" which is set with a taxonomy term argument, so I can show any newsletter at /newsletter/taxonomy-term-for-issue. By default, the breadcrumbs shows - home - on each of the newsletter pages. I want the breadcrumbs to show - home - newsletters (newsletters would link to a main page about the newsletters and a list of newsletter issues, etc.).
Presumably I can write a PHP snippet to return "true" for a path starting with /newsletter. But the views pages aren't a content type, so I can't select something in the "node type" field.
Is there a way to set custom breadcrumb visibility settings not by node type, but by a php snippet based on the path? I'm thinking of something like block visibility settings.
Thanks!
Comment #4
toddwoof commentedSorry -- messed up the title in that last post. Just fixing that.
Comment #5
traviscarden commentedSee #215475: Revamp Custom Breadcrumbs to Support Views, Users, Taxonomy, and Panels