Modification template index body d'où plus de PA ni de derniers connectés dernières 24h

2 participants

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

Résolu Modification template index body d'où plus de PA ni de derniers connectés dernières 24h

Message par lucy123 Sam 5 Sep - 13:25

Détails techniques


Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Internet Explorer
Capture d'écran du problème :
Voir l'image:

Personnes concernées par le problème : Tous les utilisateurs
Problème apparu depuis : Depuis que j'ai changé le template^^
Lien du forum : (lien masqué, vous devez poster pour le voir)

Description du problème

Bonjour,

J'espère tout d'abord avoir posté dans la bonne partie du forum, et si ce n'est pas le cas, je m'en excuse.

J'ai un problème idiot : j'ai changé l'index body de base afin d'avoir une structure du forum comme sur l'image ci-dessus, mais vu que je retire tout l'index de base je n'ai plus de page d'accueil, ni les derniers membres connectées ces dernières 24h, les membres connectés, etc. Juste le forum.

Si je rajoute simplement le code modifié en dessous de celui de base j'ai deux forums...

Donc, je ne sais pas où intégré le code dans l'index de base...

Index-body que je veux mettre :

Spoiler:

L'index body de base :

Spoiler:

J'espère avoir été compréhensible,

Merci d'avance pour votre aide !

Note : j'avais trouvé ce code sur un tuto, mais je le retrouve plus... Embarassed Mais je suis quasi sûre qu'ils disaient d'enlever tout le template index body de base et de le remplacer par le leur... Après, c'ets peut être moi qui ai mal lu, mais vu que je ne le retrouve plus, je ne sais pas confirmer... Embarassed

Note 2 : L'image n'étant apparemment pas passée : https://nsa37.casimages.com/img/2015/09/05/150905033525561304.png


Dernière édition par lucy123 le Sam 5 Sep - 16:08, édité 1 fois
avatar

lucy123
Nouveau membre

Messages : 2
Inscrit(e) le : 05/09/2015

http://syndora.bb-fr.com/
lucy123 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modification template index body d'où plus de PA ni de derniers connectés dernières 24h

Message par Teurancher Sam 5 Sep - 14:11

Yosh,
Il ne s'agit pas du template index_body mais de index_box. Remplacer l'intégralité du template index_box par votre template.

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">&nbsp;{catrow.tablehead.L_FORUM}&nbsp;</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">&nbsp;</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}>
                       
                          <!-- [ DÉBUT DES MODIFICATIONS EFFECTUEES PAR LE FORUM DES FORUMS ] -->
                       
                          <div class="forum-stats">{catrow.forumrow.POSTS} messages, dans {catrow.forumrow.TOPICS} sujets.</div>
                     
                          <div class="forum-description"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
                          <div class="forum-sousforum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</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 -->
                </span>
              </td>
              <td class="row3 over" align="center" valign="middle" height="50">
                    <!-- BEGIN avatar -->
                    <div style="width: 200px;"></div>
                    <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
                    <!-- END avatar -->
       
                <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
              </td>
          </tr>
       
        <!-- [ FIN DES MODIFICATIONS EFFECTUEES PAR LE FORUM DES FORUMS ] -->
       
          <!-- 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 -->
Teurancher

Teurancher
*****

Masculin
Messages : 545
Inscrit(e) le : 28/02/2015

http://www.arcadia-forum.com/
Teurancher a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Modification template index body d'où plus de PA ni de derniers connectés dernières 24h

Message par lucy123 Sam 5 Sep - 16:06

Oh, merci beaucoup !
avatar

lucy123
Nouveau membre

Messages : 2
Inscrit(e) le : 05/09/2015

http://syndora.bb-fr.com/
lucy123 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