Sitemenu module does not cooperate with other taxonomy based modules

baraban - March 5, 2007 - 10:06
Project:SiteMenu
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:baraban
Status:needs work
Description

The problem is that it completely ignores the modules field in the vocabulary table. Solution for non-image and non-forum taxonomy nodes turned out to be rather simple.

Replace: $path = 'taxonomy/term/';
with: $path = taxonomy_term_path($term) ;

This will allow you to use modules such as taxonomy redirect on the regular nodes. I did not care about the forum, image and etc. taxonomy nodes and did not attempt fixing the way this module mishandles them.

BTW, in case anyone cares, I am working on Drupalizing the website for Odesskiy Listok newspaper, http://www.OdessaPage.com

#1

kbahey - March 25, 2007 - 19:08
Priority:critical» normal
Status:needs review» needs work

Please submit a proper patch.

#2

baraban - March 29, 2007 - 18:13

Sorry, that is an exercise for somebody else. I don't have the proper tools to create and apply "proper" patches. But if you are just looking to get this module to work right, you can simply search and replace and fix the problem. In the end, we decided not to use this module - too much overhead for the little functionality we needed from it.

 
 

Drupal is a registered trademark of Dries Buytaert.