Closed (won't fix)
Project:
Taxonomy Redirect
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2007 at 00:59 UTC
Updated:
22 Sep 2008 at 06:45 UTC
i'd like to use taxonomy menu with taxonomy redirect. thank you.
Comments
Comment #1
agileware commentedI have looked into this and due to the way taxonomy_menu (and the drupal menu system) works this isn't really possible.
It would be possible to make a patch for taxonomy_menu that does a call to taxonomy_redirect, for example:
$redirect = module_invoke('taxonomy_redirect', 'term_path', $term)
Then: if $redirect != 'taxonomy/term/' . $term->tid use $redirect instead of $path.
In theory you could do it like this except...
You will end up with either your menu item not appearing (because it isn't in the parent/child format) or your menu item going to the wrong url (for your menu to appear it will have to be parent menu item parent/redirect path instead of just redirect path).
So it can't really work without a lot of customisation to taxonomy_menu... or a little customisation to taxonomy_menu and then some fiddling with taxonomy_redirect to allow for the nesting of menus.