Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Menu names are build with underscores, but the drupal doesn`t allow underscores for menu system names
So instead of tax_menu_ it should be for example tax-menu-
One of the problems that occurs is not able to delete a menu because of the disallowed underscores.
Comment | File | Size | Author |
---|---|---|---|
#1 | tax_menu.patch | 2.96 KB | Docc |
Comments
Comment #1
Docc CreditAttribution: Docc commentedattached a patch with fix. Also fixes issue #787926: Rebulding menu
Based on HEAD/DEV
Comment #2
Docc CreditAttribution: Docc commentedComment #3
pingvinen CreditAttribution: pingvinen commentedThe patch makes no different for me.
Taxonomy menus does not rebuild the menus when adding new terms to the taxonomy vocabulary and my old menu created with the module can't be renamed or removed. It was called "Växter" so I changed the vocabulary name to "plants" instead and after that I could press the Save button on "admin/build/menu" page without getting the "error" message that says only to use small caps and numbers.
The only way for me to make new terms appear in the menu is to uncheck and recheck the vocabulary on "admin/settings/tax_menu" page.
---EDIT---
Hmm, for some reason it started working for me. I'm not sure what I did but this has been done since the post above.
Renamed vocabulary "plant" to "Växter" again.
Uncecked and rechecked "Växter" on "admin/settings/tax_menu"-page.
Poked around in DB (no changes stored).
I have now two menus called "Växter" one with the underlines '_' and the other with scores '-'.
Comment #4
Docc CreditAttribution: Docc commentedYes you have to recreate the taxonomy menus by unchecking save and then rechecking and save on the configuration page.
The patch does not provide a update path.
Just delete the old menu afterwards, with the underscore