Xiao Posted September 12, 2009 Share Posted September 12, 2009 I have noticed that PS sets things in order that u add them, latest last.e.g. in languages English is first ID 1 french is second ID 2is there a way to show the French flag first and English secondsame thing with featured productsand the Information module showing CMS links Link to comment Share on other sites More sharing options...
Xiao Posted September 14, 2009 Author Share Posted September 14, 2009 is it possible o change the order of things? Link to comment Share on other sites More sharing options...
David Y.F. Posted September 15, 2009 Share Posted September 15, 2009 Step 1:Look for the table ps_lang (or whatever your prefix language is) in phpMyAdmin.Step 2:Add a new field after ISO CODE. Setting could be: Name: importance, type: TINYINTStep 3:Fill importance in the way that you want to show in the front-office, etc.Step 4:Look for the function LoadLanguages in /clases/Language.php, at the end of the file in 1.2.3 version of PSand change the line that do you have by: $result = Db::getInstance()->ExecuteS('SELECT `id_lang`, `name`, `iso_code`, `active` FROM `'._DB_PREFIX_.'lang` ORDER BY importance' );It works for me.Good Look. Link to comment Share on other sites More sharing options...
lucasabogado Posted September 24, 2009 Share Posted September 24, 2009 Hello ?You like this ?Regards Link to comment Share on other sites More sharing options...
Recommended Posts