Supprimer la colonne sujets & messages
♦ Vous devez être fondatrice du forum, car il vous faut avoir accès au templates.
- résultat:
Étape 1 - Le template
♦ Aller dans template - général - index_box.
♦ Trouver ce code :
- Code:
-
<th nowrap="nowrap" width="50">{L_TOPICS}</th>
<th nowrap="nowrap" width="50">{L_POSTS}</th>
♦ Supprimer le.
♦ Trouver ce code :
- Code:
-
<td class="row3" align="center" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.TOPICS}</span>
</td>
<td class="row2" align="center" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.POSTS}</span>
</td>
♦ Supprimer le.
♦ Trouver ce code:
- Code:
-
<td class="row3 over" align="center" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
Remplacer le par:
- Code:
-
<td class="row3 over" align="center" valign="middle" height="50">
<span class="gensmall"><div class="derniermessage">{catrow.forumrow.TOPICS} sujets | {catrow.forumrow.POSTS} messages <br/ >
{catrow.forumrow.LAST_POST}</div></span>
</td>
Étape 2 - css
Mettre ceci dans votre css :
- Code:
-
.derniermessage {
border-radius: 20px; /** arrondi **/
background-color: #e3e3e3; /** couleur de fond **/
border: 2px solid #a5dbae; /** bordure **/
font-size: 11px; /** taille de la police **/
text-transform: uppercase; /** texte en majuscule **/
width: 200px; /** largeur **/
}
♦ Bien sur le css est à modifier à votre guise.