Hello everyone,

I have these 2 options checked "Syncronise changes... & Display Descendants ", the other option checked is "Display Number of Nodes".

When I create a content, select the term corresponding and save the content, everything is working good, the content (node) is added to the good category (taxonomy menu) and the number of node is also updated but only for the term corresponding not for the parents term.

To also update the parents term I need to edit the vocabulary again without changing any parameters, just I check the option " Select to rebuild the menu on submit. ". And everytime I add a content I need to repeat the operation to get the parents term updated.

Is there any option I missed, or a fix for this problem ?

Thanks for the help,

Comments

indytechcook’s picture

Have you tried this on the latest dev?

Heilong’s picture

With the latest dev version, I got this error when editing a new content " Menu and taxonomy name mismatch : term (1) != term ", and the corresponding menu is not updated, even the parents aren't.

When I check the option " Select to rebuild the menu on submit. ", to rebuild the menu, all the menu generated by taxonomy menu disappears.

indytechcook’s picture

Menu and taxonomy name mismatch : term (1) != term

Do you have i18n installed? It's being worked here: #316632: Integrate with I18n (I) - "Localize terms"

You need to add a manually translation for the vocabulary. I'm not 100% sure how but that post has some information.

Please let us know the results.

Heilong’s picture

I have i18n installed.
My terms are for the moment displayed in french but no translation yet in english.

The post talk about the : term (1) != term , of that problem but my problem is about the number of nodes are not updated for the parents. I'll take a look and try the changes they say and let you know.

m4t’s picture

Same problem, but no i18n installed!

It's all ok if I refresh with 'Select to rebuild'... but I can't permit this behaviour! If it's possible having this feature as automatic stuff....

:-/

Save me Indy.... Please!

Heilong’s picture

Status: Active » Needs work

I used the last dev version applied changes mentionned before, the taxonomy menu disappears again when trying to rebuild, or is not updated as expected.

With the 6.x-2.3 version, and applying the changes, the parents items are not updated.

Need help...

dddave’s picture

Status: Needs work » Active

Status changed because "needs work" is a tag for patches which need work.

I can confirm this problem with the latest .dev. My issue is probably related to the i18n issue.

Heilong’s picture

Anyone fixed it ?
Otherwise is there any way to rebuild the menu automatically after adding a node .

m4t’s picture

You have to use this function: _taxonomy_menu_rebuild(*vocabulary id*);

You also need to include all .inc used by this call; just in case, you also need to create database connection through drupal_bootstrap_database

dstol’s picture

Status: Active » Closed (won't fix)

Old issue closing