Modifier catégorie

2 participants

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

Résolu Modifier catégorie

Message par Miya Yoshizumi Sam 7 Mai 2011 - 16:24

Bonjour, bonsoir! ^^
J'ai essayé de créer une catégorie un peu spéciale, mais le rendu n'est pas super-super, alors je sais pas.. J'ai peut-être foiré dans un code ou quelque chose, mais c'est pas vraiment beau.. xD

Voici ce que j'aimerais faire :
Spoiler:
Et voici ce que j'ai pour l'instant :
Spoiler:
Voici mon HTML de l'index_box :
Début :
Code:
<br>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><div class="categorie"><span class="titrecategorie">{catrow.tablehead.L_FORUM}</span><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 -->

Fin:
Code:
<!-- BEGIN tablefoot -->
</table></div><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Ma CSS :

Code:
.categorie{
margin: 10px 0px;
border: 2px solid MediumTurquoise;}

.titrecategorie{
margin-left: 15px;
padding: 3px;
display: block;
width: 150px;
margin-top: -15px;
border-top: 2px solid MediumTurquoise;
border-right: 2px solid MediumTurquoise;
border-left: 2px solid MediumTurquoise;
background-color: AliceBlue;
color: #FFF;
text-align: center}

Merci d'avance pour votre aide! ^^


Dernière édition par Miya Yoshizumi le Mer 11 Mai 2011 - 14:31, édité 1 fois
Miya Yoshizumi

Miya Yoshizumi
***

Féminin
Messages : 146
Inscrit(e) le : 21/03/2009

http://hunterXhunter-world.forumactif.com
Miya Yoshizumi a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Izumi375 Sam 7 Mai 2011 - 21:51

Bonsoir,
Lorsque j'ai vu ton pseudo j'ai pas pu m'empêcher de répondre. Mr. Green

Par contre j'aurais bien eu besoin de la totalité de l'index_box. C'est toujours plus pratique pour la personne en face et de ce fait mon explication n'est pas optimale pour ne pas dire incomplète.
Sinon pour le code il s'agit d'un <fieldset> rien à voir avec ce que tu as fait. Wink

Bref on commence par ceci:

  • Remplace:
    Code:
    <!-- BEGIN catrow --><!-- BEGIN tablehead --><div class="categorie"><span class="titrecategorie">{catrow.tablehead.L_FORUM}</span><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 -->

    Par ceci:

    Code:
    <!-- BEGIN catrow --><!-- BEGIN tablehead -->
    <fieldset class="cadre"><legend class="categorie">{catrow.tablehead.L_FORUM}</legend>
       
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">

       <!-- END tablehead -->

  • A la fin on met à la place de :

    Code:
    <!-- BEGIN tablefoot -->
    </table></div><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot -->

    Ceci:

    Code:
    <!-- BEGIN tablefoot -->
    </table></fieldset><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot -->

  • Dans le css:

    Code:
    .cadre {
    border: 2px solid #000000;
    }

    .categorie {
    background-image: url("url du fond")
    border: 2px solid #000000;
    }


Voilà j'ai mis les trucs de base pour le css. Faudra surement toucher à la boîte "derniers messages" mais comme je n'ai pas ton index_box en entier je ne peux pas. pig

Viel Glück!


Dernière édition par Izumi375 le Dim 8 Mai 2011 - 1:43, édité 1 fois
Izumi375

Izumi375
****

Féminin
Messages : 318
Inscrit(e) le : 31/08/2009

http://keikoku.forumpro.fr
Izumi375 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Miya Yoshizumi Sam 7 Mai 2011 - 22:05

Bonsoir,
Haha, suis à ce point là irrésistible? xD *Sort*
<fieldset>? En quoi consiste ce code? (Jamais entendu parlé °°)

Bon, j'ai remplacé les quelques codes que vous m'avez fourni, et comme demandé voici mon index_box en entier :

Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<fieldset class="cadre"><legend class="categorie">{catrow.tablehead.L_FORUM}</legend>
 
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- END catrow -->
  <!-- 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>
         <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>
      <!-- BEGIN forum_link_no -->
   
      </td>
      <td class="row3 over" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </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></fieldset><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot -->


Merci, de votre aide qui m'est précieux. :3
Miya Yoshizumi

Miya Yoshizumi
***

Féminin
Messages : 146
Inscrit(e) le : 21/03/2009

http://hunterXhunter-world.forumactif.com
Miya Yoshizumi a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Izumi375 Dim 8 Mai 2011 - 1:08

J'aime beaucoup ton nouvel avatar mais ça venait plus du fait que j'avais le devoir d'aider quelqu'un au pseudo semblable au mien. Very Happy

Sinon <fieldset> c'est juste une balise toute bête pour mettre un cadre autour d'un élément. Ca s'utilise dans les formulaires à champ de saisie généralement.

Alors je t'ai juste réglé le problème de taille vu qu'on se retrouve avec une "boîte" dernier message beaucoup trop petite.
Je ne savais pas trop si tu voulais encore le même effet cadré autour mais comme le titre de ton sujet ne s'intéressait qu'aux catégories je m'en suis pas occupée.

Voilà le template au complet (edit: ah non je viens de me rendre compte que c'est qu'une partie, donc remplace juste la partie correspondante ^^):

Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<fieldset class="cadre"><legend class="categorie">{catrow.tablehead.L_FORUM}</legend>
 
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- END catrow -->
  <!-- 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="85%" 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>
        <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>
      <!-- BEGIN forum_link_no -->
 
      </td>
      <td class="row3 over" align="center" valign="middle" height="50" width="15%">
        <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </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></fieldset><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot -->

En fait il fallait passer le td width de la partie inc_span à 85% (valeur à changer si besoin est) et le td width de la partie last_post à 15%.

Pour finir si tu veux un effet similaire pour les titres des forums et pour la partie dernier message, je te le fais sans aucun souci. Mr. Green

PS: je me suis loupé dans le css du dessus, désolée c'est édité.
Izumi375

Izumi375
****

Féminin
Messages : 318
Inscrit(e) le : 31/08/2009

http://keikoku.forumpro.fr
Izumi375 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Miya Yoshizumi Dim 8 Mai 2011 - 13:51

Merci, et oui, je comprends tout à fait ce que tu veux dire. xDD Le sens du devoir quoi.
Oh, maintenant je comprends mieux à quoi sert cette balise! Merci pour l'explication! °° (Je dormirais moins bête ce soir.) Mr. Green
Merci pour ton aide et pour ton code! :3

Effectivement, cela m'intéresserais d'avoir l'effet similaire pour les titres des forums et pour la partie dernier message.
Mais je viens aussi de remarquer que ça fait un peu bizarre sur mon forum test. x3

Résultat sur Safari :
Spoiler:

Résultat sur Firefox :
Spoiler:

À savoir que je n'ai pas encore mi de background et que j'ai pas encore modifié le CSS.
Miya Yoshizumi

Miya Yoshizumi
***

Féminin
Messages : 146
Inscrit(e) le : 21/03/2009

http://hunterXhunter-world.forumactif.com
Miya Yoshizumi a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Izumi375 Dim 8 Mai 2011 - 19:34

Ah ouais... o.O
Sur chrome c'est niquel donc je n'avais rien vu. Désolée!

Je sais pas pourquoi mais il faut mettre les "boîtes" (comme j'aime les appeler) dans des liens pour que ça marche sous firefox (pas besoin de les diriger vers un url par contre Wink )

Bref par exemple pour les catégories, ça nous donne ça:

Code:
<legend class="categorie"><a>{catrow.tablehead.L_FORUM}</a></legend>

Le problème avec safari... c'est que je l'ai jamais utilisé :S. Mais si sur le forum que tu prends en exemple il n'y a pas ces petites bandes blanches c'est que c'est faisable. Je pourrais avoir le lien s'il te plaît? Very Happy

Autre chose, c'est toi qui a rajouté le fieldset sur les forums tels que "le petit coin de détente", "le vide ~", etc ? Parce si c'est le cas on ne pourra pas faire l'effet avec la ligne en dessous que l'on voit sur "suggestions, questions et aides", ci après:

Spoiler:

Désolée c'est un peu fouillis. Mr. Green
Izumi375

Izumi375
****

Féminin
Messages : 318
Inscrit(e) le : 31/08/2009

http://keikoku.forumpro.fr
Izumi375 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Miya Yoshizumi Lun 9 Mai 2011 - 17:12

Pas grave. xD
Les différentes navigations posent parfois problèmes, mais on va y arriver! ^o^/
Uh.. La boîte dans..Un lien.. Whaat? ô_ó (je suis complètement perdue et je dois l'avouer. xD)

Voici l'URL de mon forum comme demandé :
http://og-rpg-test.forumactif.org/

Non, absolument pas, je n'ai rien rajouté dans le "petit coin de détente" et "le vide ~".
Miya Yoshizumi

Miya Yoshizumi
***

Féminin
Messages : 146
Inscrit(e) le : 21/03/2009

http://hunterXhunter-world.forumactif.com
Miya Yoshizumi a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Izumi375 Lun 9 Mai 2011 - 21:15

Alors ya un gros souci dans le template vu que des tables "forumline" se baladent toutes seules sans raison. Oo

Ce que j'appelle boîtes, c'est toutes les fonctions entre {} qu'on voit dans le tempate. Par exemple: {catrow.tablehead.L_FORUM}
Cette dernière est celle qu'on veut mettre comme titre de l'encadré. Seulement firefox fait un peu la tête à ces titres et veut qu'on les mette sous forme de liens. Du coup au lieu de mettre une simple balise <legend> autour, on met aussi la balise de lien. D'où:

Code:
<legend class="categorie"><a>{catrow.tablehead.L_FORUM}</a></legend>

J'ai fait quelques tests chez moi, ça marche très bien avec le template que je t'ai donné (sur firefox et chrome en tout cas), on devrait y arriver. Wink

forum test

Bref j'ai besoin de ton template actuel en ENTIER! Si tu ne veux pas que d'autres le voit tu pourras toujours l'enlever après par éditage. Mr. Green
Sinon tu peux me l'envoyer par mp mais je sais pas si on a le droit. silent

Voilà j'espère que c'est un peu plus clair...
Izumi375

Izumi375
****

Féminin
Messages : 318
Inscrit(e) le : 31/08/2009

http://keikoku.forumpro.fr
Izumi375 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Miya Yoshizumi Mar 10 Mai 2011 - 16:24

Ah, je vois, je vois. xD
Effectivement, sur ton forum de test, c'est niquel. oO
Je me demande ce que j'ai bien pu faire..

Hum,.. Tu parles sûrement du Template index_box? xD
(Ne t'inquiètes pas, moi cela me gênes pas d'envoyer mon template comme ça.)
Le voici en entier. (Faut que j'avoue qu'il y a pas grand chose là dedans)
Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<fieldset class="cadre"><legend class="categorie">{catrow.tablehead.L_FORUM}</legend>
 
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- END catrow -->
  <!-- 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="85%" 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>
        <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>
      <!-- BEGIN forum_link_no -->
 
      </td>
      <td class="row3 over" align="center" valign="middle" height="50" width="15%">
        <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </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></fieldset><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot -->
Miya Yoshizumi

Miya Yoshizumi
***

Féminin
Messages : 146
Inscrit(e) le : 21/03/2009

http://hunterXhunter-world.forumactif.com
Miya Yoshizumi a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Izumi375 Mar 10 Mai 2011 - 17:07

Ah oui comme tu as enlevé la première partie avec le tableau avant <!-- BEGIN catrow --> dans l'index_box j'ai cru que tu m'avais donné qu'un morceau de template. Au temps pour moi. Mr. Green

Sinon j'ai trouvé!
Le <!-- END catrow --> a été supprimé du coup la partie catégorie n'a pas de fin. C'est pourquoi le cadre de "First Step" s'achève après le QEEL.

Code:
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<fieldset class="cadre"><legend class="categorie"><a>{catrow.tablehead.L_FORUM}</a></legend>
 
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- END catrow -->
  <!-- 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="85%" 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>
        <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>
      <!-- BEGIN forum_link_no -->
 
      </td>
      <td class="row3 over" align="center" valign="middle" height="50" width="15%">
        <fieldset class="lastpost"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></fieldset>
      </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></fieldset><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Voilà ca devrait faire l'affaire.

Sinon pour customiser les titres des forums et le cadre autour de "dernier message" il faut ajouter au css:

Code:
.lastpost {
border: 2px solid #000000; /*pour customiser la bordure de dernier message*/
}

a.forumlink {
font-size: 15px;
display: block;
font-weight: bold;
text-align: center;
border-bottom: 2px solid #000000;
text-decoration: none !important; /* enlève le soulignage du lien lorsqu'on passe la souris sur le forum */
}

S' il y a d'autres effets que tu recherches où des soucis avec le code n'hésites pas.
Izumi375

Izumi375
****

Féminin
Messages : 318
Inscrit(e) le : 31/08/2009

http://keikoku.forumpro.fr
Izumi375 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modifier catégorie

Message par Miya Yoshizumi Mer 11 Mai 2011 - 14:30

Ah! Je vois. °°
Donc j'ai bêtement enlevé la balise. (par accident) xDDD
Merci, c'est parfait, c'est justement ce que je voulais faire! <3
Merci beaucoup Izumi-chan!
Miya Yoshizumi

Miya Yoshizumi
***

Féminin
Messages : 146
Inscrit(e) le : 21/03/2009

http://hunterXhunter-world.forumactif.com
Miya Yoshizumi 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