dans la page d'accueil du module j'ai ajouter la possibilité d'afficher ou non les sous catégories, d'afficher ou non le bloc informations annonces, d'afficher ou non le bloc des dernières petites annonces. Mais je n'est pas penser à cette possibilité, je vais voir...
de toute façon c'est faisable sans trop de difficulté, il suffit d'inversé l'emplacement dans la page catads_index.html le nom des bloc sont indiquer en commentaire
pour être plus clair tu inverse
<!-- appel de la liste des catégories --> <{include file="db:diffuannonces_cat.html"}>
avec sa
<!-- Affichage des dernieres annonces -->
<!-- ajout cpascalweb - le 24 mai 2011 - Choix d'afficher ou non le bloc les dernières petites annonces -->
<{if $bloc_dernieres_annonces == 1}> <div class="odd"><{$smarty.const._MD_DIFFUANNONCES_LASTADD}></div>
<{foreach item=item from=$items}> <div class="tutorial_recents_item"> <div class="tutorial_sidebar_item_title" style="padding-left:5px; font-size:13px; padding-top:5px"> <table width="100%" border="0"> <tr> <td width="20%" rowspan="4" align="left"><{$item.photo}></td> <!-- ajout option affiche ou non le type de l'annonce --> <{if $show_ad_type == 1 > <td width="80%" align="left" style="padding-left:5px"><b><{$item.type}></b> : <a href="<{$xoops_url}>/modules/diffuannonces/adsitem.php?ads_id=<{$item.id}>"><{$item.title}></a></td> <{else}> <td width="80%" align="left" style="padding-left:5px"><a href="<{$xoops_url}>/modules/diffuannonces/adsitem.php?ads_id=<{$item.id}>"><b><{$item.title}></b></a></td> <{/if}> <!-- fin ajout option affiche ou non le type de l'annonce --> </tr> <tr> <td align="left" style="padding-left:5px"><{$smarty.const._MD_DIFFUANNONCES_PRICE2}> <{$item.price}></td> </tr> <tr> <td align="left" style="padding-left:5px"><{$smarty.const._MD_DIFFUANNONCES_BLOC_VILLE}> <{$item.local}></td> </tr> <tr> <td align="left" style="padding-left:5px"><{$smarty.const._MD_DIFFUANNONCES_DATE_ANNO}> <{$item.date}> </td> </tr> </table> </div> </div> <{/foreach}>
<{/if}>
<!-- Fin d'affichage des dernieres annonces -->
en image pour te repéré