Two requirements:
1. Only show the node count from current language.
2. Hide the terms with out any nodes (node count=0).
This patch solves this both. A new setting is introduced for hiding terms that are never used.
Pardon me if the patch is not created properly. I found difficult to find info about how to create patch for the working directory.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | taxonomy_block.module.1122326.patch | 4.92 KB | kevinsiji |
| taxonomy_block_exclude_empty_terms.patch | 4.9 KB | kevinsiji |
Comments
Comment #1
kevinsiji commentedI read the Git documentation, and created the patch once again using Git. Here it is attached. Please check and let me know whether it has come good.
Comment #2
d.sibaud commentedFor me this patch works fine, hope to see it committed soon
Comment #3
castawaybcn commentedpatch is working for me too
Comment #4
castawaybcn commentedsorry, I just realized there is a little error in the code: it outputs empty
<li></li>entries for the terms that have a count number of 0, it seems an easy thing to fix, but I don't think my coding skills are good enough.Also, it would be great if hiding empty terms did not depend on showing the number of terms.
Comment #5
kevinsiji commentedLets hope the new maintainer will fix it. I am not working on any D6 sites now and doesn't have time at the moment now.