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.

Comments

kevinsiji’s picture

StatusFileSize
new4.92 KB

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

d.sibaud’s picture

For me this patch works fine, hope to see it committed soon

castawaybcn’s picture

Status: Needs review » Reviewed & tested by the community

patch is working for me too

castawaybcn’s picture

Status: Reviewed & tested by the community » Needs work

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

kevinsiji’s picture

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