Organisation des description de catégorie.
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1 • Partagez
Organisation des description de catégorie.
- ¡ Bonjour !
Cela fait quelques minutes que je bidouille mon template index_box && cela me donne des idées que je n'arrive malheureusement pas à mettre en place.
J'aurais donc plusieurs questions. Je vais essayer d'être la plus claire possible.
Tout d'abord, voici mon forum test : http://mif-test.forumactif.com/
Comme vous pouvez le voir j'ai déjà fais plusieurs modifications. && Je ne compte pas m'arrêter là
- 1. J'aimerais que l'image qui indique les nouveaux messages soit dans la même colonne que le reste. Mais je ne sais pas à quoi elle correspond dans le template.
- 2. Comme vous pouvez le voir j'ai créé une phrase avec le nombre de messages, de sujets et le dernier message posté. Le problème est que le nom de l'auteur du dernier message reste en dessous de la phrase comme ceci :
4 messages ont été postés dans 2 sujets. Le dernier message a été posté Lun 8 Nov 2010 - 16:38
Admin
&& J'aimerais obtenir ceci :
4 messages ont été postés dans 2 sujets. Le dernier message a été posté Lun 8 Nov 2010 - 16:38 par Admin
- 3. J'aimerais également pouvoir modifier la largeur de la description du forum. Il doit sûrement avoir une histoire de tableau mais je ne sais pas comment faire.
Merci d'avance pour vos réponses!
EDIT. Voici mon template.
- Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</span>
</h{catrow.forumrow.LEVEL}>
<span class="genmed">{catrow.forumrow.FORUM_DESC}
<span class="gensmall">
<div class="dernier_message"><b>{catrow.forumrow.POSTS}</b> messages ont été postés dans <b>{catrow.forumrow.TOPICS}</b> sujets. Le dernier message a été posté <b>{catrow.forumrow.LAST_POST}</b> </div></span>
</span>
<span class="gensmall">
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
</span>
</td>
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
Dernière édition par supernana le Sam 27 Nov 2010 - 21:51, édité 1 fois
Invité- Invité
Invité- Invité
Re: Organisation des description de catégorie.
Je me permet de upper à nouveau. Voilà un schéma de ce que j'aimerais. J'ai essayé plusieurs choses avec les balises <td*> </td*>, <tr*> </tr*> mais rien n'y fait. Mon forum est déformé comme pas permis
Invité- Invité
Invité- Invité
Invité- Invité
Re: Organisation des description de catégorie.
Bonsoir,
Pour l'auteur du sujet, c'est une seule variable qui gère ceci donc impossible d'y toucher
Concernant l'icône nouveau message, vous voudriez la mettre où ? Dans la même colonne que le reste certes, mais où précisément ? Car sur votre schéma vous ne l'avez pas mentionné.
Cordialement.
Re: Organisation des description de catégorie.
Ah oui j'ai oublié de la mettre. J'aimerais la placer juste après le nombre de messages, ...
Invité- Invité
Re: Organisation des description de catégorie.
Comme ceci ? ^^
- Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
</span>
</h{catrow.forumrow.LEVEL}>
<table width="100%" style="padding-left: 10px;"><tr><td width="50%" valign="top">
<span class="genmed">{catrow.forumrow.FORUM_DESC}
</td><td width="50%" valign="top">
<span class="gensmall">
<div class="dernier_message"><b>{catrow.forumrow.POSTS}</b> messages ont été postés dans <b>{catrow.forumrow.TOPICS}</b> sujets. Le dernier message a été posté <b>{catrow.forumrow.LAST_POST}</b> </div></span>
</span></td></tr></table>
<span class="gensmall">
<center> {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</center>
</span>
</td>
<td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
Re: Organisation des description de catégorie.
Ah super, mais est-ce qu'il serait possible qu'il n'y ai plus la bordure entre le nombre de message && l'icône des messages ?
Invité- Invité
Re: Organisation des description de catégorie.
- Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
<h{catrow.cathead.LEVEL} class="hierarchy">
<span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
</span>
</h{catrow.cathead.LEVEL}>
</td>
<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
<!-- END inc -->
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
</span>
</h{catrow.forumrow.LEVEL}>
<table width="100%" style="padding-left: 10px;"><tr><td width="45%" valign="top">
<span class="genmed">{catrow.forumrow.FORUM_DESC}
</td><td width="45%" valign="top">
<span class="gensmall">
<div class="dernier_message"><b>{catrow.forumrow.POSTS}</b> messages ont été postés dans <b>{catrow.forumrow.TOPICS}</b> sujets. Le dernier message a été posté <b>{catrow.forumrow.LAST_POST}</b> </div></span>
</span></td> <td width="10%" align="center" valign="middle">
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td></tr></table>
<span class="gensmall">
<center> {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</center>
</span>
</td>
<!-- BEGIN forum_link -->
<td class="row3" colspan="3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
<!-- END forum_link -->
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
Au niveau des valeurs, j'ai mis 45%, 45% et 10% dans cette partie =>
- Code:
<td width="45%" valign="top">
<span class="genmed">{catrow.forumrow.FORUM_DESC}
</td><td width="45%" valign="top">
<span class="gensmall">
<div class="dernier_message"><b>{catrow.forumrow.POSTS}</b> messages ont été postés dans <b>{catrow.forumrow.TOPICS}</b> sujets. Le dernier message a été posté <b>{catrow.forumrow.LAST_POST}</b> </div></span>
</span></td> <td width="10%" align="center" valign="middle">
donc tout dépendra de l'image que vous mettrez pour l'icône. Il faudra donc régler ces trois valeurs par la suite.
Cordialement.
Re: Organisation des description de catégorie.
Super, ça marche à la perfection!
Merci beaucoup pour votre aide
Merci beaucoup pour votre aide
Invité- Invité
Sujets similaires
» Détacher l'image de description de catégorie de sa description
» [Invision] Description d'un forum ou d'une catégorie
» Catégorie en bloc, taille de la description
» Espacement titre de catégorie et description
» En dessous de la description d'une catégorie...
» [Invision] Description d'un forum ou d'une catégorie
» Catégorie en bloc, taille de la description
» Espacement titre de catégorie et description
» En dessous de la description d'une catégorie...
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum