Quote:
Originally Posted by ChrisTERiS
Please... Please... Please... DON'T EDIT THE FILE phpMyDataGrid.php !!!! It's not that you're not allowed to do it, but EVERYTHING that is there can be set without modififying this file. Also in every update you'll loose all changes.
Examle:
1.- Do you want to translate the Grid in Arabic? Just rename any file in the directory microclassifieds/datagrid/languages that you don't plan to use (eg de.php) to ar.php, translate all the phrases, and then goto microCLASSIFIEDS settings and set as Grid Interface Language .... ar ... That's all. Do you want to change the charset to 1256? No problem. Change Character set to use for displaying data in grids from utf-8 to windows-1256. I spent hours to make your life easier. Avoid the difficult (and sometimes dangerous ways).
2.- As I wrote before. I'm missing free time. There was a bug in condition, I've post the correct file 3-4 times already (if you check previous pages), but still I haven't add in the districution file. Please upload the attached file and it will correct it.
Chris
|
mmmm
Quote:
Do you want to change the charset to 1256? No problem. Change Character set to use for displaying data in grids from utf-8 to windows-1256.
|
I just re uploaded the original file (phpMyDataGrid.php) and from admincp I changed (Grid Data Language) from UTF-8 >> windows-1256
But nothing changed! I should edit the file (phpMyDataGrid.php) and exactly this line:
var $sqlcharset = "";
To
var $sqlcharset = "windows-1256";
Then I get correct Arabic words. I don't know why!
Quote:
1.- Do you want to translate the Grid in Arabic? Just rename any file in the directory microclassifieds/datagrid/languages that you don't plan to use (eg de.php) to ar.php, translate all the phrases, and then goto microCLASSIFIEDS settings and set as Grid Interface Language .... ar ... That's all.
|
I tried this method, It is easier but I got same result, The Arabic words appears as a question marks (???????) - see the previous screen-shot.
Quote:
2.- As I wrote before. I'm missing free time. There was a bug in condition, I've post the correct file 3-4 times already (if you check previous pages), but still I haven't add in the districution file. Please upload the attached file and it will correct it.
|
I uploaded the attached file and rewrite the old one but still same bug. no thing appears in (condition) column
Thanks for your effort Chris