Organisation des description de catégorie.

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Organisation des description de catégorie.

Message par Invité Mar 23 Nov 2010 - 16:04

    ¡ Bonjour ! Very Happy


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à Razz


    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! Very Happy

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
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Invité Mer 24 Nov 2010 - 19:06

UP Embarassed
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Invité Jeu 25 Nov 2010 - 17:26

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 Razz

Organisation des description de catégorie. Sans_t11
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Invité Ven 26 Nov 2010 - 21:34

Nouveau up Laughing
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Invité Sam 27 Nov 2010 - 20:51

UP Embarassed
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Anzu Sam 27 Nov 2010 - 20:57


Bonsoir,

Pour l'auteur du sujet, c'est une seule variable qui gère ceci donc impossible d'y toucher Razz

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.



Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Invité Sam 27 Nov 2010 - 21:07

Ah oui j'ai oublié de la mettre. J'aimerais la placer juste après le nombre de messages, ...
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Anzu Sam 27 Nov 2010 - 21:36

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 -->
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Invité Sam 27 Nov 2010 - 21:40

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 ?
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Anzu Sam 27 Nov 2010 - 21:46

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.
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Organisation des description de catégorie.

Message par Invité Sam 27 Nov 2010 - 21:50

Super, ça marche à la perfection!
Merci beaucoup pour votre aide Very Happy Razz
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum