When Falang is used with k2 and Menu is set to
K2 » Item listings » Categories
The categories are displayed correctly but not translated
the problem is in the file
components/com_k2/models/itemlist.php line 51
Falang has problem with the SELECT SQL_CALC_FOUND_ROWS , use to make the pagination
a quick and dirty workaround was to no use this mysql function
//$query = "/ Frontend / K2 / Items / SELECT SQL_CALC_FOUND_ROWS i.,";
$query = "SELECT i.,";
There are already specific Falang code.
I will post here a good solution when it's done , if it's can be add to the next release of k2 it will be great.
Hi,
When Falang is used with k2 and Menu is set to K2 » Item listings » Categories
The categories are displayed correctly but not translated
the problem is in the file components/com_k2/models/itemlist.php line 51
Falang has problem with the SELECT SQL_CALC_FOUND_ROWS , use to make the pagination a quick and dirty workaround was to no use this mysql function //$query = "/ Frontend / K2 / Items / SELECT SQL_CALC_FOUND_ROWS i.,"; $query = "SELECT i.,";
There are already specific Falang code. I will post here a good solution when it's done , if it's can be add to the next release of k2 it will be great.
Stéphane Falang Team