probably you have solved it yourself, but in case somebody else needs a solution, this can be useful:
in the /module/blocklanguages/blocklanguages.php file put
Paste this code:
in the /module/blocklanguages/blocklanguages.php file put
function cmp($a, $b) { //language iso_code in the desired order: $new_order = array("fr", "es", "en", "de"); foreach($new_order as &$value) { if ($a["iso_code"]==$value) return -1; if ($b["iso_code"]==$value) return 1; } }
Paste this code:
usort($languages,"cmp");
$smarty->assign('languages', $languages);