What if I have
[MOD]Language select (Version B) installed ?
I tried installing it, and when I choose another language, all works (it translates quicklist). But when i click in category in quicklist, it goes back to default language. Maybe i did something wrong in installation ?
EDIT :
got it work partially.
I changed in functions.php
global $site_db, $drop_down_cat_cache, $cat_cache;
to this :
global $site_db, $drop_down_cat_cache, $cat_cache, $site_sess;
also changed :
$category_list .= "<li><span class='folder'><a href=categories.php?cat_id=".$category_id.">".$quick_cat_name."</a></span>";
}
else {
$category_list .= "<li><a href=categories.php?cat_id=".$category_id.">".$quick_cat_name."</a>";
to this :
$category_list .= "<li><span class='folder'><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$category_id."")."\">".multilang($quick_cat_name)."</a></span>";
}
else {
$category_list .= "<li><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$category_id."")."\">".multilang($quick_cat_name)."</a>";
Sorry, seems that V@no already made fix for this :S. But i have more problems.
Now it doesnt change language to default (it stays to language, which user choosed), but in quicklist it doesnt show category I'm currently viewing (It shows correctly only when default language selected).
categories.php?cat_id=10&l=english - doesnt work
categories.php?cat_id=10 - works
Any help with this ?