This is already a great module but I would like to see one more feature.
An option to hide (don't render) unused terms - terms with node counts = 0.
It will be helpful in cases when you have a huge list of terms to be used in future but you don't want to clutter up all space with links to empty content.
Thanks
Comments
Comment #1
xanoI don't think I'll add a checkbox for this. You'll need to prevent these terms from being rendered in vocabindex_link.tpl.php. I wrote a handbook page on how to achieve this.
Comment #2
lop commentedYou're right, this is also a quick solution. Unfortunately by this approach you're just not rendering anchor tags and list item tags are still being rendered in output which causes some styling issues (allocated space, duplicated borders) for empty items.
I'm afraid you'll have to dig inside the module code ;-)
But I think this feature will be useful for other users as well.
Comment #3
xanoYou're right, I hadn't thought of that. This issue needs some more thought.
Comment #4
xanoComment #5
xanoI don't see a way to achieve this without side effects. It's possible to make a slight adjustment to the code rendering the lists, but then this would conflict with the pagers in some situations. I'll postpone this until I start working on version 3, since we are pretty much in code freeze now.
Comment #6
xanoComment #7
xanoComment #8
xanoComment #9
xanoComment #10
xanoComment #11
xanoEvery parent layer now has an extra checkbox to hide that layer's entities if they have no children.
Note that only child entities belonging to a child layer are counted, so a parent term with child terms can have zero children.
Comment #12
xanoComment #14
xano