Syncronise changes / Display Descendants options menu not updated
| Project: | Taxonomy Menu |
| Version: | 6.x-2.3 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
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,

#1
Have you tried this on the latest dev?
#2
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.
#3
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.
#4
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.
#5
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!
#6
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...
#7
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.
#8
Anyone fixed it ?
Otherwise is there any way to rebuild the menu automatically after adding a node .
#9
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