A l'aide de cette documentation, vous allez pouvoir modifier l'apparence des icônes de vos forums vous permettant d'avoir directement les images forum à la place des icônes indiquant le statut du forum.
Avant toute chose, je vous conseille de choisir des icônes au même format pour une question d'homogénéité.
Ouvrez le fichier template « styles/{VOTRE_THEME}/template/forumlist_body.html ».
Cherchez:
Code : Tout sélectionner
<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
Code : Tout sélectionner
<dl class="icon" <!-- IF forumrow.FORUM_IMAGE -->style="background-image: url({forumrow.FORUM_IMAGE_SRC}); background-repeat: no-repeat;<!-- ELSE -->style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;<!-- ENDIF -->">
<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
Résultat: