Problem of rerouting in multilingual site SEF

Phoca Download - download manager
yann.fr
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Jan 2013, 14:33

Problem of rerouting in multilingual site SEF

Post by yann.fr »

When the web site is SEF and the language is not the default language, it apear a problem : the default language is set.
The solution is in the file "helpers/route.php" in the function "getCategoryRoute"
The code must be, before the last line :

Code: Select all

$link .= (JRequest::getCmd( 'lang' ) != '') ? '&lang='.JRequest::getCmd( 'lang' ) : '';
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem of rerouting in multilingual site SEF

Post by Jan »

Hi, thank you for the info, I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem of rerouting in multilingual site SEF

Post by Jan »

Hi, can you describe the problem more, I am testing now and get any such problem :idea:

Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply