Affichage catégorie

3 participants

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

Résolu Affichage catégorie

Message par EdwigeA Sam 14 Avr 2012 - 14:42

Bonjour,
J'ai supprimé la colonne "dernier message" et ai mis une image en fond de catégorie. Le problème c'est qu'elle ne vas pas jusqu'au bout de la page, mais s'arrête comme ceci :

Affichage catégorie Forum11

Un moyen pour y remédier ? Merci d'avance !

Mon index_box :

Code:
    <br>
            <!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="2" cellpadding="0">
                <tr>
              <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th> 
                                <th nowrap="nowrap" width="150"><div style="width:150px;">  </div></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><td colspan="3">    <span class="forumlink">
                              <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
       
                            </span></td></tr>
       
       
       
              <tr>
                  <!-- BEGIN inc -->
                  <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
                  <!-- END inc -->
                  <td 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 colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
                        <table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
                 
                        </h{catrow.forumrow.LEVEL}></td></tr></tbody></table>
                    <span class="genmed"><font size="1px">{catrow.forumrow.FORUM_DESC}</font></span>
                    <span class="gensmall">
                        <!-- BEGIN switch_moderators_links -->
                        {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                        <!-- END switch_moderators_links -->
                        {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                    </span>
                  </td>
       
                  <td align="center" valign="middle" height="50" style="min-width: 150px;">
            <div class="z">{catrow.forumrow.POSTS} messages • {catrow.forumrow.TOPICS} sujets.<br />
                    <span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
                  </td>
              </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 EdwigeA le Ven 20 Avr 2012 - 12:19, édité 1 fois
EdwigeA

EdwigeA
Nouveau membre

Messages : 15
Inscrit(e) le : 12/04/2012

http://himitsu.forumgratuit.fr/
EdwigeA a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Affichage catégorie

Message par Matriochka Sam 14 Avr 2012 - 21:52

Bonsoir,

Serait-il possible d’avoir l’URL du forum concerné, s’il vous plaît ? Envoyez-la moi ici ou bien via MP si vous préférez Wink
avatar

Matriochka
Membre actif

Messages : 7604
Inscrit(e) le : 14/07/2010

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

Résolu Re: Affichage catégorie

Message par Anzu Dim 15 Avr 2012 - 6:16

Bonjour,

Remplacez votre template index box par celui ci:

Code:
            <br>
                    <!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="2" cellpadding="0">
                        <tr>
                      <th colspan="3" 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><td colspan="3">    <span class="forumlink">
                                      <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
             
                                    </span></td></tr>
             
             
             
                      <tr>
                          <!-- BEGIN inc -->
                          <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
                          <!-- END inc -->
                          <td 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 colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
                                <table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
                       
                                </h{catrow.forumrow.LEVEL}></td></tr></tbody></table>
                            <span class="genmed"><font size="1px">{catrow.forumrow.FORUM_DESC}</font></span>
                            <span class="gensmall">
                                <!-- BEGIN switch_moderators_links -->
                                {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                                <!-- END switch_moderators_links -->
                                {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                            </span>
                          </td>
             
                          <td align="center" valign="middle" height="50" style="min-width: 150px;">
                    <div class="z">{catrow.forumrow.POSTS} messages • {catrow.forumrow.TOPICS} sujets.<br />
                            <span class="gensmall">{catrow.forumrow.LAST_POST}</span></div>
                          </td>
                      </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 -->
       
       

J'ai retiré cette partie:

Code:
      <th nowrap="nowrap" width="150"><div style="width:150px;">  </div></th>
et j'ai mis un colspan de 3

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: Affichage catégorie

Message par EdwigeA Ven 20 Avr 2012 - 11:57

Merci beaucoup, ça marche !
(désolée de répondre si tard mais j'ai eu une absence imprévue)
EdwigeA

EdwigeA
Nouveau membre

Messages : 15
Inscrit(e) le : 12/04/2012

http://himitsu.forumgratuit.fr/
EdwigeA 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