enlever " forum" et "dernier message"

2 participants

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

Résolu enlever " forum" et "dernier message"

Message par almalexia Jeu 28 Juin 2012 - 2:34

Bonsoir ,

Je voudrais enlever la barre située entre le message d’accueil et les catégories du forum : Là où on peut lire 'Forum' et 'Derniers Messages'.

Alors, sur un autre forum, j'avais suivit cette aide là:
https://forum.forumactif.com/t284858-enlever-la-barre-forum-derniers-messages
Et ça avait très bien marché...mais là, j'ai modifié mon index.box et je si j'applique ce tuto, ça me fout en l'air la mise en page...

je joint mon index.box, pour que vous puissiez m'aider Wink :
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 -->
            <!--ATTENTION MODIF ICI COLSPAN ="3"-->
<td class="{catrow.cathead.CLASS_CAT}" colspan="3" width="100%">
                <h{catrow.cathead.LEVEL} class="hierarchy">
                    <span class="cattitle">
<a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}"><center>{catrow.cathead.CAT_TITLE}</center></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>
 <!--MODIF--> <!-- END inc -->
          <td class="{catrow.forumrow.INC_CLASS} img_forum">
                        <span class="message"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                      </span>
              <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}>
                <div class="stats_cate">{catrow.forumrow.TOPICS} sujets contenant {catrow.forumrow.POSTS} messages...</div>
                <div class="description">{catrow.forumrow.FORUM_DESC}</div>
                <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">
<div class="description2"><center><span class="gensmall">{catrow.forumrow.LAST_POST}</span></center></div>
          </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 -->

Merci d'avance ♥
almalexia

almalexia
****

Féminin
Messages : 336
Inscrit(e) le : 06/12/2011

http://planete-stargate.forumgratuit.org
almalexia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: enlever " forum" et "dernier message"

Message par Threax Jeu 28 Juin 2012 - 12:21

Bonjour,

Supprimez ces lignes de votre template :
Code:
<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>
(lignes 21 à 26)
Threax

Threax
Membre actif

Masculin
Messages : 17276
Inscrit(e) le : 27/08/2005

http://lesforumsde.forumactif.com
Threax a été remercié(e) par l'auteur de ce sujet.

Résolu Re: enlever " forum" et "dernier message"

Message par almalexia Jeu 28 Juin 2012 - 12:33

merci ca marche ^^

par contre ma derniére colonne n'est plus assez large T_T... il y a un moyen de la faire plus grande quand même?
almalexia

almalexia
****

Féminin
Messages : 336
Inscrit(e) le : 06/12/2011

http://planete-stargate.forumgratuit.org
almalexia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: enlever " forum" et "dernier message"

Message par Threax Jeu 28 Juin 2012 - 12:44

Situez :
Code:
<div style="width:150px;">{L_LASTPOST}</div></th>
Et remplacez 150 par 200 Smile
Threax

Threax
Membre actif

Masculin
Messages : 17276
Inscrit(e) le : 27/08/2005

http://lesforumsde.forumactif.com
Threax a été remercié(e) par l'auteur de ce sujet.

Résolu Re: enlever " forum" et "dernier message"

Message par almalexia Jeu 28 Juin 2012 - 12:49

Euh... je comprend pas ^^'.
Dans le premier message vous me dites de supprimer cette ligne, je dois donc la remettre? c'est bien ça?

PS: je ne sais pas ci ça y joue, mais mon template n'est plus multicolore a partir de la ligne 12, il n'est écris qu'en rouge et gris...

Après, je vais peut être dire une bêtise XDD
mais vu que ça change ma mise en page quand j’enlève les colonne, ya pas juste une astuce pour leur enlever le fond, et le titre? ( ça encore je sais faire ^^)
almalexia

almalexia
****

Féminin
Messages : 336
Inscrit(e) le : 06/12/2011

http://planete-stargate.forumgratuit.org
almalexia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: enlever " forum" et "dernier message"

Message par Threax Jeu 28 Juin 2012 - 13:50

Non, je me suis trompé de ligne, en effet...
Ajoutez à votre CSS :
Code:
.description2 {
  width: 200px;
}
ça devrait être bon

je ne sais pas ci ça y joue, mais mon template n'est plus multicolore a partir de la ligne 12, il n'est écris qu'en rouge et gris...
Il y a sûrement une erreur à l'endroit où la coloration s'arrête (guillemet ouvert mais pas fermé, balise ouverte...)
Threax

Threax
Membre actif

Masculin
Messages : 17276
Inscrit(e) le : 27/08/2005

http://lesforumsde.forumactif.com
Threax a été remercié(e) par l'auteur de ce sujet.

Résolu Re: enlever " forum" et "dernier message"

Message par almalexia Mer 4 Juil 2012 - 10:34

Ca marche bien, merci beaucoup ♥
almalexia

almalexia
****

Féminin
Messages : 336
Inscrit(e) le : 06/12/2011

http://planete-stargate.forumgratuit.org
almalexia 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