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.
Is it possible to override menu items using this module? I'm trying to add a links to the taxonomy/term/ urls but they are not getting overridden by the module, they are just linking to the taxonomy listing page.
I am not using the taxonomy_term_path($term) function because you can't copy that into the path form field when creating a menu item. Is it possible for the module to override all term links, not just the ones using the taxonomy_term_path($term) function?
Comments
Comment #1
plachThis module overrides links produced through the
taxonomy_term_path()
function, nothing else. You might want to implement hook_menu_link_alter to replace the menu item path with the one produced bytaxonomy_term_path($term)
, if the menu item points totaxonomy/term/$tid
.Comment #2
plach