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...

CommentFileSizeAuthor
#1 taxonomy_menu-637974-1.patch687 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Status: Active » Needs work
StatusFileSize
new687 bytes

Here'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...

indytechcook’s picture

BWPanda, that might have been related a few other bugs. Please try against the latest DEV.

Anonymous’s picture

I 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.

Anonymous’s picture

Update?

3dloco’s picture

subscribing

dstol’s picture

Status: Needs work » Closed (fixed)