I have implemented hierarchical select module (6x.3.6) such that the user is forced to select a taxonomy term at the deepest level of a given hierarchy.

I have also implemented taxonomy menu as well as the taxonomy term count. Currently, when the taxonomy term is displayed with the above hierarchical select module settings, the term count displayed beside a parent term does not display the total of the child terms. It looks as such:

______________
- Dog (0)
-- Spotted (0)
--- Brown (1)
--- Black (2)
--- Green (4)
-- Stupid (0)

I would like it to be displayed as such:

_________
- Dog (2)
-- Spotted (7)
--- Brown (1)
--- Black (2)
--- Green (4)
-- Stupid (0)

Is this possible currently in the latest D6 version or is support planned in future versions

-Dog (

Comments

thomas1977’s picture

I'm battling with the (almost) same challenge, I think. Maybe the solutions are related (?), so I'll post here. However, where my wish differs from the above is that, translated into the above example, I would like it to show "Dog (16)", so that the total post count for all child terms is reflected into these child item's respective parent items. This would be very useful for the forum. An example:

- Transportation History (11)
-- 1850-1900 (4)
--- Public transportation (2)
--- Personal transportation (2)
--1901-1950 (7)
--- Public transportation (4)
--- Personal transportation (3)

I've tried to accomplish this by using taxonomy menu in conjunction with the hierarchical select module, but it just doesn't work out no matter what settings I try to apply (parent items keep showing (0)). I realize that it's probably got something to do with the lack of assignment of parent terms in the hierarchy upon saving the forum post, but maybe there's a solution?

Best,

Stomper’s picture

I think there should be an options list allowing the site admin to choose how taxonomy menu counts child options so that different methods and use cases can be addressed. Thanks for the input, thomas.

johnv’s picture

Status: Active » Closed (duplicate)

This is not really a 'Hierarchical Select' integration issue, since it'll work for any hierarchy tree.
This feature request is already here: #1064510: 'Display number of items': Node count should include descendants