[support] hide menu items without nodes

Seitenweberei.ch kontakt at seitenweberei.ch
Tue Feb 19 11:56:56 UTC 2008


I'm planning a site with two navigations:

first navigation:
- term1 of vocabulary1
   - term1 of vocabulary2
   - term2 of vocabulary2
- term2 of vocabulary1
   - term1 of vocabulary2
   - term2 of vocabulary2

second navigation:
- vocabulary2
   - term1 of vocabulary2
   - term2 of vocabulary2

The parent terms of the navigation will simply point to the taxonomy
term (taxonomy/term/id), the child terms to the corresponding view (if
there's a better solution, how to achieve such a navigation structure,
please let me know).

Is there a module or any code snippet to hide navigation items if the
corresponing taxonomy term or view doesn't have any nodes assigned? I
searched but couldn't find any.

Thanks.
Richard



More information about the support mailing list