I have two content types: shop and restaurant
Both content types have two taxonomy terms:
*) shops has shoes and food
*) restaurant has greek and italian
now I have a view for every term:
*) a list of shoe shops (drupal path: shop/shoes)
*) a list of food shops (drupal path: shop/food)
*) a list of greek restaurants (drupal path: restaurant/greek)
*) a list of italian restaurants (drupal path: restaurant/italian)
every view gets a tab menu so it looks like this:
shop | restaurant
shoes | food
or like this
shop | restaurant
greek | italian
depending on what main menu item is selected.
now I get the list of nodes I want.
so far so good.
but when I visit the nodes themselves they don't know they're part of this group (e.g. greek restaurants) anymore and I lose the menu.
I don't want to give every single node an entry in the tab menu...
What to do? Anyone?
Comments
Try the taxonomy context
I don't expect that a node would know that it's being referenced by a view, or a view knowing that a listed node is being currently being viewed. Try the taxonomy context module, available here.