I'm building a site for a store. I have 3 vocabularies: Brands, Products(jacket, pants ...), Sex(male, female) and a view that filters by "Taxonomy: Vocabulary Name: Products" with 3 arguments for the vocabulary terms. Also I have menu for each brand that looks like this:
Collection
- Female
-- Pants
-- Jackets
-- T-shirts
-Male
--Pants
-- .....
News
About
When I click on the "T-shirts" menu, for example, the breadcrumb is:
Home >> Collection >> Female >> View name >> Brand >> Female
Half of the menus are duplicates. "Collection" and "View name" have the same url.
As far as I understand the part before the view name is the drupal generated breadcrumb which reflects the menu structure.
If I remove $breadcrumb = drupal_get_breadcrumb(); from the views_set_breadcrumb() function the breadcrumb is fine, it is what I want:
View name >> Brand >> Female
Is there a way to make the breadcrumb look like I want? I feel a bit lost...
Comments
Comment #1
merlinofchaos commentedViews is trying not to disturb the breadcrumb that Drupal puts there, and attach its own stuff based on arguments.
If the rest of the breadcrumb is there it is likely there due to either the menu system or some other module you have creating that breadcrumb. You may need to 1) change your menu structure so that it doesn't try to do that, or 2) use something like the custom breadcrumb module to help fix your breadcrumb for the view.
Comment #2
patrickfgoddard commentedExcept custom_bookmarks only works with nodes/node types. Would be great if custom_bookmarks module worked with views as well.
Comment #3
sunIt seems that this issue cannot be fixed by Views.