Topics en double à cause d'une template [Résolu!] Bouton_activeTopics en double à cause d'une template [Résolu!] Bouton_hoverTopics en double à cause d'une template [Résolu!] Fb-hoverTopics en double à cause d'une template [Résolu!] Fb-active
CSSActif, le forum, n'est plus maintenu. Il est néanmoins disponible pour consultation. Pour des outils pratiques, rendez-vous sur:

Découvrez CSSActif, une collection d'outils et de tutoriels interactifs pour les développeurs Web — HTML, CSS, JavaScript et bien plus!

Derniers sujets
» Fiche de Présentation RPG
Topics en double à cause d'une template [Résolu!] EmptySam 30 Mar 2024, 22:07 par Peyton972

» [RPG] Fiche personnage avec bannière
Topics en double à cause d'une template [Résolu!] EmptySam 30 Mar 2024, 22:06 par Peyton972

» Structure de Qui Est En Ligne (1)
Topics en double à cause d'une template [Résolu!] EmptyLun 04 Mar 2024, 23:20 par Peyton972

» Qui Est En Ligne - Utopia
Topics en double à cause d'une template [Résolu!] EmptyDim 24 Déc 2023, 18:16 par romee

» Pack forum complet "Androïd Sylver" RPU (N°2)
Topics en double à cause d'une template [Résolu!] EmptyJeu 02 Nov 2023, 06:42 par Hydrar

» Formulaire de connexion rapide amélioré
Topics en double à cause d'une template [Résolu!] EmptySam 04 Mar 2023, 18:57 par Krager

» Avatar centré dans le profil
Topics en double à cause d'une template [Résolu!] EmptySam 11 Fév 2023, 06:04 par Krager

» Vos partenaires dans le footer
Topics en double à cause d'une template [Résolu!] EmptyMar 07 Fév 2023, 08:40 par Oxtran

Le Deal du moment :
Funko POP! Jumbo One Piece Kaido Dragon Form : ...
Voir le deal

Partagez
 

Topics en double à cause d'une template [Résolu!]

Voir le sujet précédent Voir le sujet suivant Aller en bas 
Liley
Liley
{ Membre }
{ Membre }

Féminin Messages : 13



Topics en double à cause d'une template [Résolu!] Empty
Bonjour!
Je rencontre un problème. J'ai modifier ma template index_box (j'ai supprimé les catégories "sujets" "messages" et etc.)
J'ai utilisé ces 2 tutoriaux: http://www.css-actif.com/t4061-messages-sujets-indiques-au-dessus-du-dernier-message-poste
http://www.css-actif.com/t4655-supprimer-la-colonne-derniers-messages
Le truc c'est que ben mes topics se dupliquent et se mettent au dessus des catégories auxquelles ils appartiennent.
Voici un screen:
Spoiler:
Comme vous pouvez le remarquer dans le premier encadré rouge, les sujets "Règlement" et "Formulaire" appartiennent aux forums "Règlement" et "Présentation" , et dans le 2ème encadré rouge, c'est la même chose. L'autre sujet "Formulaire" fait parti cette fois d'un forum qu'on ne voit pas sur le screen.
Bref, il doit y avoir un truc qui c loche dans ma template.
Pouvez-vous m'aider s'il vous plaît?

Voici ma template:
Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
   <tr>
      <td valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall">{LAST_VISIT_DATE}<br />
         {CURRENT_TIME}<br />
         </span>
         <!-- END switch_user_logged_in -->
         <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
      </td>
      <td class="gensmall" align="right" valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
         <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
         <!-- END switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
      </td>
   </tr>
</table>
<!-- 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><br />
            </span>
        </h{catrow.forumrow.LEVEL}>
        <table width="100%" cellpadding="2" cellspacing="0">
            <tr>
              <td valign="middle" width="75%">
                  <span class="genmed">{catrow.forumrow.FORUM_DESC}</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 valign="middle" width="25%">
                  <div class="messages_sujets_derniers_sujets">
                    <span class="gensmall">
                      <div class="sujets_messages"><center>Topics : {catrow.forumrow.TOPICS} | Réponses : {catrow.forumrow.POSTS}</center></div>
<div class="derniers_sujets">{catrow.forumrow.LAST_POST}</div></span>
                  </div>
              </td>
            </tr>
        </table>
      </td>
      
      
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      
   <!-- 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 -->
<img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->


Dernière édition par Liley le Dim 15 Avr 2012, 13:54, édité 1 fois
MessageSujet: Topics en double à cause d'une template [Résolu!]   Topics en double à cause d'une template [Résolu!] EmptyDim 15 Avr 2012, 12:32
Revenir en haut Aller en bas
Kiwi
Kiwi
{ Membre }
{ Membre }

Féminin Messages : 142



Topics en double à cause d'une template [Résolu!] Empty
Bonsoir,

Il y avait juste cette ligne en trop qui traînait dans ton template vers la ligne 80 :

Code:
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>

En la retirant comme suit, tu devrais pouvoir résoudre ton souci.

Template index_box :
Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
  <tr>
      <td valign="bottom">
        <!-- BEGIN switch_user_logged_in -->
        <span class="gensmall">{LAST_VISIT_DATE}<br />
        {CURRENT_TIME}<br />
        </span>
        <!-- END switch_user_logged_in -->
        <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
      </td>
      <td class="gensmall" align="right" valign="bottom">
        <!-- BEGIN switch_user_logged_in -->
        <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
        <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
        <!-- END switch_user_logged_in -->
        <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
      </td>
  </tr>
</table>
<!-- 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><br />
            </span>
        </h{catrow.forumrow.LEVEL}>
        <table width="100%" cellpadding="2" cellspacing="0">
            <tr>
              <td valign="middle" width="75%">
                  <span class="genmed">{catrow.forumrow.FORUM_DESC}</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 valign="middle" width="25%">
                  <div class="messages_sujets_derniers_sujets">
                    <span class="gensmall">
                      <div class="sujets_messages"><center>Topics : {catrow.forumrow.TOPICS} | Réponses : {catrow.forumrow.POSTS}</center></div>
<div class="derniers_sujets">{catrow.forumrow.LAST_POST}</div></span>
                  </div>
              </td>
            </tr>
        </table>
      </td>
     
  <!-- 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 -->
<img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Kiwi
MessageSujet: Re: Topics en double à cause d'une template [Résolu!]   Topics en double à cause d'une template [Résolu!] EmptyDim 15 Avr 2012, 13:39
Revenir en haut Aller en bas
Liley
Liley
{ Membre }
{ Membre }

Féminin Messages : 13



Topics en double à cause d'une template [Résolu!] Empty
Merci beaucoup ♥
J'ai enlevé cette ligne et tout fonctionne!
Merci encore!
MessageSujet: Re: Topics en double à cause d'une template [Résolu!]   Topics en double à cause d'une template [Résolu!] EmptyDim 15 Avr 2012, 13:53
Revenir en haut Aller en bas
Psycho
Psycho
Psychopathe
Psychopathe

Féminin Messages : 3407



Topics en double à cause d'une template [Résolu!] Empty
    Hello (:
    Je vois que le problème est résolu, par conséquent je classe (:
    Si tu as d'autres questions, n'hésite pas à ouvrir un nouveau sujet !
MessageSujet: Re: Topics en double à cause d'une template [Résolu!]   Topics en double à cause d'une template [Résolu!] EmptyDim 15 Avr 2012, 14:03
Revenir en haut Aller en bas
Contenu sponsorisé




Topics en double à cause d'une template [Résolu!] Empty
MessageSujet: Re: Topics en double à cause d'une template [Résolu!]   Topics en double à cause d'une template [Résolu!] Empty
Revenir en haut Aller en bas
 

Topics en double à cause d'une template [Résolu!]

Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1

 Sujets similaires

-
» Taille des titres des topics [Problème résolu]
» Double probleme : Titres && citations, codes, spoilers [Resolu]
» Template posting_body_wysiwyg à modifier [Résolu]
» [résolu] Personnalisation du template index_box
» [question] Correspondance dans le template [résolu]

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
CSSActif :: De la théorie à la pratique :: Aide CSS & xHTML :: Problèmes résolus-

Partenaires Or


← Page précédente   ↑ Aller en haut Copyright © CSSActif 2009 - 2013 Tous droits réservés
Créer un forum | ©phpBB | Forum gratuit d'entraide | Signaler un abus | Forum gratuit | Informatique et Internet | Internet