Syncronise changes / Display Descendants options menu not updated

Heilong - May 12, 2009 - 08:39
Project:Taxonomy Menu
Version:6.x-2.3
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

indytechcook - May 12, 2009 - 22:35

Have you tried this on the latest dev?

#2

Heilong - May 13, 2009 - 03:21

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

indytechcook - May 15, 2009 - 12:11

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

Heilong - May 26, 2009 - 03:07

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

m4t - May 29, 2009 - 13:52

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

Heilong - June 2, 2009 - 02:44
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...

#7

dddave - June 12, 2009 - 13:21
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.

#8

Heilong - June 23, 2009 - 10:53

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

#9

m4t - June 26, 2009 - 09:56

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

 
 

Drupal is a registered trademark of Dries Buytaert.