In a custom module I'm implementing the hook_menu_alter
hook to alter the page callback for the $menu['taxonomy/term/%taxonomy_term']
menu.
I've noticed that my hook is not implemented because another contrib module ( Taxonomy Display module ) already implements the same hook (all works fine if I disable TD).
What I need is not to prevail on TD hook with mine, but to use my hook under a certain condition, and TD hook for all other cases.
The condition is the presence of parameter "v" in the querystring, like the following example:
if url == taxonomy/term/tid?v=value
then use mymodule_menu_alter
if url == taxonomy/term/tid
then use taxonomy_display_menu_alter
How I can do that?
Thank you very much!
MXT