I have both 'Hide empty terms' and 'Add item for vocabulary' checked for my menu, and as a result I get a menu with nothing in it (all terms are empty).
It'd be nice if the vocabulary item wasn't shown when there are no active terms in the menu...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | taxonomy_menu-637974-1.patch | 687 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedHere's an attempt at a patch that successfully hides the vocabulary item if there are no active terms in the menu, however it doesn't get updated when nodes are created that use those terms, so the menu stays hidden.
Could be a step in the right direction though...
Comment #2
indytechcook commentedBWPanda, that might have been related a few other bugs. Please try against the latest DEV.
Comment #3
Anonymous (not verified) commentedI tried the patch on the latest dev, but it's still not updating. I realised though that this is because
$item['tid']is not equal to '0' when you're simply updating nodes with more or less terms.There must be somewhere else in the code that this needs to happen.
Comment #4
Anonymous (not verified) commentedUpdate?
Comment #5
3dloco commentedsubscribing
Comment #6
dstol