miloscupavi
New Member
Somethig similar was on this topic
http://fabrikar.com/index.php?option=com_smf&Itemid=9&topic=147.0
but there is no such text to replace as it was suggested (at least not in that file).
I`ve been trying to solve this for 5-6 days and nothing.
Does anybody have ANY solution for this?
My closest result was to add this code in fabrik_functions.php:
And then I changed line 63
with
and line 66
with
AND NOTHING.
As you can see, my programming skills are as bad as my english
I tried to insert
in this file, and it's showing current language in frontend.
Also if I delete those "if statements", and just asign
it shows "<<Start" in front end, and if I change it to
it shows "<<Pocetna" in front end.
So my idea works but only in parts, when i put it together there is no result.
So once again, does anybody have any idea about this, or another solution.
Thanks!!!
http://fabrikar.com/index.php?option=com_smf&Itemid=9&topic=147.0
but there is no such text to replace as it was suggested (at least not in that file).
I`ve been trying to solve this for 5-6 days and nothing.
Does anybody have ANY solution for this?
My closest result was to add this code in fabrik_functions.php:
Code:
if($mosConfig_lang = "english") {
$start = "<< Start";
}
if($mosConfig_lang = "serbian_lat") {
$start = "<< Pocetna";
}
And then I changed line 63
Code:
$html .= "\n<a href=\"#beg\" class=\"pagenav\" title=\"first page\" onclick=\"javascript:fabrikNav(0);return false;\"><< Start</a>";
with
Code:
$html .= "\n<a href=\"#beg\" class=\"pagenav\" title=\"first page\" onclick=\"javascript:fabrikNav(0);return false;\">$start</a>";
Code:
$html .= "\n<span class=\"pagenav\"><< Start</span>";
with
Code:
$html .= "\n<span class=\"pagenav\">$start</span>";
AND NOTHING.
As you can see, my programming skills are as bad as my english
I tried to insert
Code:
echo $mosConfing_lang;
Also if I delete those "if statements", and just asign
Code:
$start = "<<Start";
Code:
$start = "<< Pocetna";
So my idea works but only in parts, when i put it together there is no result.
So once again, does anybody have any idea about this, or another solution.
Thanks!!!