Apparence Catégories

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

Résolu Apparence Catégories

Message par loraanee Lun 12 Déc 2011 - 20:10

Bonsoir !

Je m'adresse à vous car j'aimerai avoir un rendu de ce genre pour mon forum RPG :

Spoiler:

J'ai acces aux Templates qui sont modifiées, je me débrouille en CSS (feuille de style également modifiée) et je crois que c'est à peu près tout Smile !

Merci d'avance pour votre aide ! ♥


Dernière édition par loraanee le Mar 27 Déc 2011 - 17:10, édité 1 fois
avatar

loraanee
*

Féminin
Messages : 33
Inscrit(e) le : 22/07/2010

http://poudlard.forumactif.pro/
loraanee a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Apparence Catégories

Message par loraanee Mer 14 Déc 2011 - 12:51

Up ?
avatar

loraanee
*

Féminin
Messages : 33
Inscrit(e) le : 22/07/2010

http://poudlard.forumactif.pro/
loraanee a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Apparence Catégories

Message par loraanee Ven 16 Déc 2011 - 17:15

Up.
avatar

loraanee
*

Féminin
Messages : 33
Inscrit(e) le : 22/07/2010

http://poudlard.forumactif.pro/
loraanee a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Apparence Catégories

Message par Invité Lun 19 Déc 2011 - 12:38

Bonjour,

Un essai:
Dans le template index_box:
Cherchez
Code:
<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="50">{L_TOPICS}</th>
      <th nowrap="nowrap" width="50">{L_POSTS}</th>
      <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
   </tr>
et remplacez par:
Code:
<table class="forumline" width="100%" border="0" cellspacing="0" cellpadding="2">
   <tr>
     <th nowrap="nowrap" width="150"><div style="width:150px;"></div></th>   
          <th nowrap="nowrap" width="50"><div style="width:50px;"></div></th>   
          <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
   </tr>
puis cherchez:
Code:
<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" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="row2" align="center" valign="middle" height="50">
         <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>
et remplacez par:
Code:
<td class="row1 over" align="center" valign="middle" height="50">
            <fieldset><legend><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
              </legend><span class="gensmall">{catrow.forumrow.LAST_POST}</span>
              </fieldset></td>
          <td width="150" class="row1 over"><div style="width:50px;"></div></td>   
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
         <fieldset><legend><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}></legend><table width="100%"><tr><td width="80%">
                          <span class="genmed">{catrow.forumrow.FORUM_DESC}</span></td>
                          <td width="20%"><span class="gensmall">{catrow.forumrow.TOPICS} sujets |{catrow.forumrow.POSTS} messages.<br /><br />
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                            <!-- END switch_moderators_links --></span>
                            <fieldset><legend><span class="genmed">Navigation</span></legend><span class="gensmall" id="subforums">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span><script type="text/javascript">
                            jQuery('#subforums').html(jQuery('#subforums').html().replace(/, /g,'<br /> ')).removeAttr('id');
                              </script></fieldset>
                          </td></tr></table></fieldset>   
      </td>
J'ai déplacé les différentes colonnes, ajouté des fieldset et un script pour replacer la virgule entre les sous-forums par un saut de ligne.

Cordialement.
Anonymous

Invité
Invité


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

Résolu Re: Apparence Catégories

Message par loraanee Lun 26 Déc 2011 - 11:56

Merci de votre réponse, et je m'excuse de mon retard ^^'

EDIT : Fausse alerte, je me suis débrouillée et j'ai bidouillé mon code déjà existant avec de que vous m'avez donné, tout baigne !

Merci encore Smile
avatar

loraanee
*

Féminin
Messages : 33
Inscrit(e) le : 22/07/2010

http://poudlard.forumactif.pro/
loraanee 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