Problème de template : Mes catégories se font la mal ! ._.

2 participants

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

Résolu Problème de template : Mes catégories se font la mal ! ._.

Message par Yuuko Nakami Mar 6 Nov 2012 - 22:02

Bonjour, bonjour !
J'ai un légé soucis de catégorie :

Spoiler:

Je pense que ça viens de mon index-box mais le problème c'est que j'ai beau chercher mes erreurs, je ne les trouve pas.
Quelqu'un pour annalysé mon template pour me dire se qui ne va pas ? ><

Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="0" 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>
<span class="cattitle">
              <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>

<td colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
        <h{catrow.forumrow.LEVEL} class="hierarchy">


      </h{catrow.cathead.LEVEL}>

      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
  </tr>
   <!-- END cathead -->
   <!-- BEGIN forumrow -->
<tr>
<td>
</td>







<table align="center">
<tr>
<td><span class="forumlink"><a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}"><span class="gradualfader">{catrow.forumrow.FORUM_NAME}</span></a>
<div id="descripti"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
</td>
  <td><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /><div class="lienss">{catrow.forumrow.L_LINKS}<br><br><br>► {catrow.forumrow.LINKS}</div></td>
  <td>
<div class=last_post><div style="margin-top:5px; margin-left:0px;"></div>
      <div class="topic_poste"><span class="gensmall"><center>{catrow.forumrow.LAST_POST}</center></div>

<div class="topic_post"><center> <span class="gensmall"><b>Topics:</b> {catrow.forumrow.TOPICS}♣ <b>Posts:</b>{catrow.forumrow.POSTS}</span></center></div>
</div>
</td>
 
</tr>
</table>
</span>
</div></br></td>


<!-- BEGIN forum_link_no -->
      </td>
      <!-- END forum_link_no -->


 
      <!-- 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 -->
Yuuko Nakami

Yuuko Nakami
**

Messages : 77
Inscrit(e) le : 20/05/2011

http://sweet-yuri.forumactif.com
Yuuko Nakami a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème de template : Mes catégories se font la mal ! ._.

Message par SoraNoHime Mer 7 Nov 2012 - 11:22

Bonjour

j'aurai besoin de votre css ainsi que de votre niveau de hiérarchie pour pouvoir tester votre index_box.

Cordialement.
SoraNoHime

SoraNoHime
Membre actif

Féminin
Messages : 6218
Inscrit(e) le : 10/06/2010

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

Résolu Re: Problème de template : Mes catégories se font la mal ! ._.

Message par Yuuko Nakami Mer 7 Nov 2012 - 14:14

Voici mon CSS avec selection pour qu'il n'y ait que le code des catégories :
Code:
/* ********** CATEGORIE ********** */

#descripti{
      width:360px;
font-size: 11px;
  font-family: Tahoma;
text-align: justify;
background-color: #0F0F0F;
  text-shadow: 1px 1px 1px black;
overflow: auto;
font-size: 10px;
border: 2px solid #0F0F0F;
height: 75px;
text-align: justify;
border-right: 3px solid #1F1F1F;
  border-right: 3px solid #1F1F1F;
-moz-border-radius: 25px 10px / 10px 25px;
border-radius: 25px 10px / 10px 25px;
margin-top: -17px;
padding: 5px;
}

.lienss{
width:150px;
font-family: Tahoma;
font-size: 10px;
background-color: #0F0F0F;
  margin-top: -28px;
  margin-bottom: 6px;
-moz-border-radius: 25px 10px / 10px 25px;
border-radius: 25px 10px / 10px 25px;
text-shadow: 1px 1px 1px black;
background-color: #0F0F0F;
border: 2px solid #0F0F0F;
border-left: 3px solid #1F1F1F;
border-right: 3px solid #1F1F1F;
height: 75px;
}

.descriptiion{
width:360px;
font-family: Tahoma;
background-color: #0F0F0F;
text-align: justify;
margin-left:5px;
margin-top:5px;
margin-bottom:-10px;
padding-top:5px;
overflow: auto;
text-shadow: 1px 1px 1px black;
overflow: auto;
font-size: 10px;
border: 2px solid #0F0F0F;
height: 75px;
text-align: justify;
border-right: 3px solid #1F1F1F;
border-left: 3px solid #1F1F1F;
-moz-border-radius: 25px 10px / 10px 25px;
border-radius: 25px 10px / 10px 25px;
margin-top: -17px;
padding: 5px;}

.icon_cat{
width:80px;
height: 80px;
background-color: #0F0F0F;
padding-top: 50px:
margin-bottom:50px;
}

.last_post{
width: 160px;
margin-left: 0px;
margin-right: 10px;
color:#352021;
margin-top: 10px;
text-shadow: 1px 1px 1px black;
-moz-border-radius: 25px 10px / 10px 25px;
border-radius: 25px 10px / 10px 25px;
background-color: #0F0F0F;
border: 2px solid #0F0F0F;
border-left: 3px solid #1F1F1F;
border-right: 3px solid #0F0F0F;
height: 75px;
 }

.topic_poste{
}

.topic_post{
}

a.forumlink
{
  text-color: #CFAC97;
 margin-left: 50px;
  z-index: 2;
  display: block;
  width: 100%;
  color: #CFAC97;
  margin-bottom: -12px;
font-family: Time news roman;
font-size: 24px;
text-transform: uppercase;
letter-spacing: -2px;
    transform: all;
-moz-transform: all;
-o-transform: all;
-htm-transform: all;
-webkit-transform: all;
transition: 1s;
-moz-transition: 1s;
-o-transition: 1s;
-htm-transition: 1s;
-webkit-transition: 1s;
}
a.forumlink:hover
{
  color: #733B3B;
  letter-spacing: 3px;
    transform: all;
-moz-transform: all;
-o-transform: all;
-htm-transform: all;
-webkit-transform: all;
transition: 1s;
-moz-transition: 1s;
-o-transition: 1s;
-htm-transition: 1s;
-webkit-transition: 1s;
}

Et ma hiérarchie : Séparer les catégories sur l'index / Moyen

Merci
Yuuko Nakami

Yuuko Nakami
**

Messages : 77
Inscrit(e) le : 20/05/2011

http://sweet-yuri.forumactif.com
Yuuko Nakami a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème de template : Mes catégories se font la mal ! ._.

Message par SoraNoHime Mer 7 Nov 2012 - 15:15

Vous avez plusieurs erreurs dans votre template

Code:
  <!-- BEGIN cathead -->
  <tr>
<span class="cattitle">
              <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>
 
<td colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
        <h{catrow.forumrow.LEVEL} class="hierarchy">
 
 
      </h{catrow.cathead.LEVEL}>
 
      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
  </tr>
  <!-- END cathead -->

la partie
Code:
<span class="cattitle">
              <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>
devrait se trouver après <h{catrow.forumrow.LEVEL} class="hierarchy">

ensuite : il manque des fermeture de span </span> dans cette ligne :
Code:
 <td><span class="forumlink"><a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}"><span class="gradualfader">{catrow.forumrow.FORUM_NAME}</span></a>
<div id="descripti"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
</td>

Code:
 <td><span class="forumlink"><a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}"><span class="gradualfader">{catrow.forumrow.FORUM_NAME}</span></a></span>
<div id="descripti"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
</td>

ici il manque le span de fermeture :
Code:
 <div class="topic_poste"><span class="gensmall"><center>{catrow.forumrow.LAST_POST}</center></div>

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

et il faut enlever celui la en plus de la ligne de tableau qui ne sert pas puisqu'il n'y a pas les codes de fermetures. d'ou le probleme de décalage normalement donc la partie en gras ici :

</tr>
</table>
</span>
</div></br>
</td>


<!-- BEGIN forum_link_no -->

un peu plus haut il y a aussi un td de trop :
<!-- BEGIN forumrow -->
<tr>
<td>
</td>

^^


SoraNoHime

SoraNoHime
Membre actif

Féminin
Messages : 6218
Inscrit(e) le : 10/06/2010

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

Résolu Re: Problème de template : Mes catégories se font la mal ! ._.

Message par Yuuko Nakami Mer 7 Nov 2012 - 20:31

Oh yeah ! Merci ! Ca marche ! *O*
Yuuko Nakami

Yuuko Nakami
**

Messages : 77
Inscrit(e) le : 20/05/2011

http://sweet-yuri.forumactif.com
Yuuko Nakami a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème de template : Mes catégories se font la mal ! ._.

Message par Yuuko Nakami Mer 7 Nov 2012 - 20:38

Euh.. Non ! En fait, j'ai un autre soucis ! Mes catégories ont disparut ! O.O
http://miki-test.lebonforum.com/
Yuuko Nakami

Yuuko Nakami
**

Messages : 77
Inscrit(e) le : 20/05/2011

http://sweet-yuri.forumactif.com
Yuuko Nakami a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème de template : Mes catégories se font la mal ! ._.

Message par Yuuko Nakami Mer 7 Nov 2012 - 20:51

Non ! C'est bon, en fait ! ^^
Yuuko Nakami

Yuuko Nakami
**

Messages : 77
Inscrit(e) le : 20/05/2011

http://sweet-yuri.forumactif.com
Yuuko Nakami 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