I've created a 'Treemenu' for a particular branch of a vocabulary, however I cannot see how to reorder menu items...

I've got hundreds of nested terms linked off this vocabulary branch, so using the standard 'list terms' interface provided by the taxonomy module isn't practical, thus I'm using Taxonomy Manager to reorder the terms. The terms are definitely being applied the correct weighting, however this weighting is not respected by Taxonomy Treemenu. I've tried displaying in the treemenu as a block (supplied by Taxonomy Treemenu) and using the Menu Block module, but neither respects the current order of the terms in the taxonomy terms table.

Am I missing something that would let me see the change in term order reflected in the menu hierarchy? I'm not using any caching at this stage (dev environment only).

Comments

sydneyshan’s picture

I seem to have overcome this by flushing the menu cache... I wonder if this is something that this module should trigger itself after taxonomy order changes...?

sydneyshan’s picture

Nope, still seem to be back in this situation... tried flushing menu cache, flushing all caches... no go.

It seems the only way to get your menus to update after term order weight changes is to write your own module and call taxonomy_treemenu_rebuild() for each taxonomy treemenu (followed by a db_query to manually set the expanded flag to 0 and drupal_flush_all_caches() to make Drupal recognise the expanded flag change)...

I believe changing the taxonomy term order weight should immediately update affected taxonomy treemenus in future builds of this module...