When you choose a sub-term, doesn't work if you use i18n

nyl auster - October 30, 2009 - 10:33
Project:Taxonomy Blocks
Version:6.x-1.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello
Taxonomy blocks works fine with i18n as long as you choose "root" as the start of the menu. But if you choose a term from a level below; this doesnt work anymore with i18n because my taxonomy looks litke this:

- Women (tid 110 : english)
-- Shoes
--- xxxx
--- xxxx
-- Dresses

- Femme (tid 95 : french)
-- Chaussures
--- xxxx
--- xxxx
-- Robes

In order to work, i had to add a select list by lang; in order to let me say that for english, the start term must be 110, and that for french it is 95. Then looking a the currently language with $language->language, we are able to change the term start to print the good menu.
Sorry i can't provide a patch because the code i made work only for the site i'm working on

 
 

Drupal is a registered trademark of Dries Buytaert.