Lets say I have a parent 'cars' and childs 'bmw' and 'toyota'

Cars(0)
-BMW(5)
-Toyota(3)

I enabled 'Display Number of Nodes' that's why it show as above.. I have 5 items listed as BMW and 3 as Toyota.. shouldn't 'Cars' be 8 instead of 0? How do I set to make it appear as 8 so that when I click on 'Cars' it will show all 8 cars?

Thanks!

Comments

iori57’s picture

I'll answer this myself.. just enable 'Display Descendants' and it worked...

however it broke the pathauto module, instead of showing this -> http://www.example.com/category/testing/cars
it now shows this -> http://www.example.com/taxonomy/term/30%2031

anyone uses pathauto module encounter this?

Thanks in advance!

colan’s picture

Title: How to make the parent to show total number of nodes for all its child? » Parents not showing total number of nodes for all children
Status: Active » Closed (works as designed)

The menu needs to be rebuilt whenever the numbers change. To do this, follow these steps:

(1) Surf to the configuration page for the vocabulary (http://www.example.com/admin/content/taxonomy/edit/vocabulary/13).
(2) Check the "Select to rebuild the menu on submit" checkbox.
(3) Click "Save".

The parents should now be showing the correct totals.

indytechcook’s picture

Status: Closed (works as designed) » Fixed

Well, they are supposed to change automatically. Make sure you upgrade to the latest version 2.5. There were several bugs in 2.3 with updating the menu when a node was deleted or updated.

If this is still occurring when you upgrade to 2.5 then please either reopen this issue or tag on to another one ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.