Le pb de ne pas mettre le tag [MLIMG] et de remplacer chaque lien derriere tes onglets par
http://www.orthodontie-fr.com/modules ... dex.php?easiestml_lang=enhttp://www.orthodontie-fr.com/modules ... dex.php?easiestml_lang=frest que tu reviendra systématiquement sur la page des news lors du changement de langue
la meilleure solution est de hacker le fichier easiestml et retravailler les lignes
foreach( $easiestml_langs as $l => $lang ) {
$langimage_html .= '<a href="'.$link_base.urlencode($lang).'"><img src="'.XOOPS_URL.'/'.$langimages[$l].'" alt="'.$langnames[$l].'" /></a>' ; }{
dans
pour intégrer dans la variable $langimage_html le html qui créée tes onglets
edit ton theme :
<div id="xo-topnav">
<ul>
<li class="tab-white"><a href="http://www.orthodontie-fr.com/">Accueil</a></li>
<li><a href="http://www.orthodontie-fr.com/modules/news/"><img src="http://www.orthodontie-fr.com/themes/orthodontie/img/flag_english.png" alt="English" /> English</a></li>
<li><a href="http://www.orthodontie-fr.com/modules/news/"><img src="http://www.orthodontie-fr.com/themes/orthodontie/img/flag_french.png" alt="French" /> Francais</a></li>
</ul>
</div>
deviendrait
<div id="xo-topnav">
<ul>
<li class="tab-white"><a href="http://www.orthodontie-fr.com/">Accueil</a></li>
[mlimg]
</ul>
</div>
et dans easiestml.php
foreach( $easiestml_langs as $l => $lang ) {
$langimage_html .= '<a href="'.$link_base.urlencode($lang).'"><img src="'.XOOPS_URL.'/'.$langimages[$l].'" alt="'.$langnames[$l].'" /></a>' ;
}
deviendrait :
foreach( $easiestml_langs as $l => $lang ) {
$langimage_html .= '<li><a href=""'.$link_base.urlencode($lang).'"><img src="'.XOOPS_URL.'/'.$langimages[$l].'" alt="'.$langnames[$l].'" /></a></li>';
}
verifie les repertoires des drapeaux et je pense que ca devrati se faire correctement