Chiffres qui apparaissent sur l'index

3 participants

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

Résolu Chiffres qui apparaissent sur l'index

Message par Skul Jeu 22 Aoû 2013 - 12:16

Bonjour !

Sur mon forum, j'ai des nombres ( 1 & 0 ) qui s'affichent au dessus de mes catégories, et je ne sais pas comment les enlever !

J'ai modifier les templates pour changer l'apparence des catégories, mais je n'ai fait que supprimer des morceaux de codes pourtant... Ce pourrait t-il que ça en soit la cause ? =/

Et ça ne peut pas venir du reste du CSS qui modifie les catégorie, je l'ai supprimé , et à part l'apparence de ces dernières, les nombres ne sont pas disparues =/  
Merci d'avance ! ><


Dernière édition par Skul le Mar 27 Aoû 2013 - 20:18, édité 1 fois
avatar

Skul
*

Messages : 39
Inscrit(e) le : 16/09/2012

http://mangaactu.fantastique.tv/
Skul a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Chiffres qui apparaissent sur l'index

Message par Matriochka Jeu 22 Aoû 2013 - 12:21

Bonjour,

Alors déjà grosse erreur dans le CSS : si tu veux mettre un commentaire, même pour les propriétés, toujours le mettre entre /* et */. Sinon ça créé des conflits.

Quel est le forum concerné ?
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: Chiffres qui apparaissent sur l'index

Message par Skul Jeu 22 Aoû 2013 - 12:30

D'accord, je changerais ça alors ^^

Le voici : http://iledehoorpg.forumactif.org/
avatar

Skul
*

Messages : 39
Inscrit(e) le : 16/09/2012

http://mangaactu.fantastique.tv/
Skul a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Chiffres qui apparaissent sur l'index

Message par Matriochka Jeu 22 Aoû 2013 - 12:31

Peux-tu m'envoyer le template index_box ? On va d'abord régler le 1er souci
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: Chiffres qui apparaissent sur l'index

Message par Skul Jeu 22 Aoû 2013 - 14:15

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>


<th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</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>
<!-- 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}>
<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>




<span class="gensmall">{catrow.forumrow.POSTS}</span>
</td>
<td class="row3 over" align="center" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</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 -->


avatar

Skul
*

Messages : 39
Inscrit(e) le : 16/09/2012

http://mangaactu.fantastique.tv/
Skul a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Chiffres qui apparaissent sur l'index

Message par Matriochka Jeu 22 Aoû 2013 - 14:17

Merci bien.

Le souci se situe à ce niveau :
Code:
<span class="gensmall">{catrow.forumrow.POSTS}</span>
</td>
<td class="row3 over" align="center" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
</tr>
Les chiffres sur ton forum correspondent aux nombres de sujets et de messages. Vu qu'ils sont mal placé dans le code, ils apparaissent au-dessus de la table. Il faut donc les remettre à leur place. Aide toi du template par défaut, au besoin Smile
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: Chiffres qui apparaissent sur l'index

Message par Skul Jeu 22 Aoû 2013 - 14:26

Oh d'accord !

Mais je n'ai pas trop compris comment faire pour qu'ils disparaissent :$ (Désolée, je suis novice en codage, tout juste bonne à copier/colle des codes x) )
avatar

Skul
*

Messages : 39
Inscrit(e) le : 16/09/2012

http://mangaactu.fantastique.tv/
Skul a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Chiffres qui apparaissent sur l'index

Message par Skul Ven 23 Aoû 2013 - 14:21

Up !

J'aurais vraiment besoins d'aide ! :$
avatar

Skul
*

Messages : 39
Inscrit(e) le : 16/09/2012

http://mangaactu.fantastique.tv/
Skul a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Chiffres qui apparaissent sur l'index

Message par Skul Sam 24 Aoû 2013 - 16:12

Up...
avatar

Skul
*

Messages : 39
Inscrit(e) le : 16/09/2012

http://mangaactu.fantastique.tv/
Skul a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Chiffres qui apparaissent sur l'index

Message par Skul Lun 26 Aoû 2013 - 23:08

Up !
avatar

Skul
*

Messages : 39
Inscrit(e) le : 16/09/2012

http://mangaactu.fantastique.tv/
Skul a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Chiffres qui apparaissent sur l'index

Message par Anzu Mar 27 Aoû 2013 - 1:28

Bonsoir,

Matriochka avait pourtant donné la réponse ou quasiment.
Remplacez votre template par:

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>
       
       
        <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</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>
        <!-- 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}>
        <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 class="row3 over" align="center" valign="middle" height="50">
        <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
        </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 donc retiré cette ligne:

Code:
<span class="gensmall">{catrow.forumrow.POSTS}</span>
Par contre, pensez à vérifier vos futurs templates, il y avait ceci:

<span class="gensmall">{catrow.forumrow.POSTS}</span>
</td>

la balise td n'a rien à faire là, d'ailleurs deux td à la suite qui se ferment ce n'est pas possible.

Si jamais vous voulez remettre le nombre de sujets et messages, pourriez vous préciser l'endroit exact où vous aimeriez les avoir ?

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: Chiffres qui apparaissent sur l'index

Message par Skul Mar 27 Aoû 2013 - 20:16

Je suis désolée, je n'avais pas vraiment compris ><

En tout cas merci beaucoup à vous deux, cela marche parfaitement ! Very Happy
Mon premier problème est résolue :3
avatar

Skul
*

Messages : 39
Inscrit(e) le : 16/09/2012

http://mangaactu.fantastique.tv/
Skul a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Chiffres qui apparaissent sur l'index

Message par Matriochka Mar 27 Aoû 2013 - 20:23

Bonsoir,

Merci de créer un nouveau sujet pour ce second problème. Ça n'est pas pratique du tout de rayer et renommer son ancien sujet… il faut penser aux recherches ultérieures que les membres peuvent faire !

Je verrouille ce sujet
avatar

Matriochka
Membre actif

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

Matriochka 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