How to do taxonomy menu with views, arguments and node count? With php-code snippet is to easy.

What i've do (for e.g. ads - cars by makes): Nodes: ad, taxonomy: make, city A taxonomy terms view - Car makes (taxonomy terms) Add relationship - ("Makes"-relation, Nodes have term) Add fields to view: term name, count(nid) via agregation.

So view's output is: honda - 5, mazda - 0, toyota - 3

Term with 0 node count outputs like term name, it is ok.

Ok, all works fine, but I need to add a location argument (city, node term) I add another relationship based on "Makes", called "City" Add a contextual filter "City name" using "City" relation (if arg empty - show all)

Now in empty (or incorrect) argument I have this:

honda - 5, mazda - 0, toyota - 3

And when city is set: honda - 2, toyota - 1

Term with 0 node count outputs nothing. How to make this view work fine?

share|improve this question
Sorry, I have no idea what your asking, please revise the question. – Letharion Nov 16 '12 at 21:22

closed as not a real question by Letharion, Chapabu, Clive Nov 21 '12 at 0:31

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

Browse other questions tagged or ask your own question.