Dernier message poster, ne s'affiche plus.

2 participants

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

Résolu Dernier message poster, ne s'affiche plus.

Message par Bella♥ Mer 8 Mai - 19:09

Coucou,
Donc voila, dans ma liste des sujets, le dernier message poster ne s'affiche plus :
Spoiler:

Voici mon template topics_list_box :
Code:
<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
   var all_checked = true;
   for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
         all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
      }
   }
   document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
   for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
      if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
         document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
      }
   }
}
</script>
<!-- END multi_selection -->
<table class="forumline tfa" width="100%" border="0" cellspacing="0" cellpadding="0"> 
  <tr class="tfa_th0">     
    <th class="tfa_th1" colspan="3" align="center" nowrap="nowrap">liste des sujets</th>     
      <br><br><br>
    <!-- BEGIN multi_selection -->     
    <th align="center" nowrap="nowrap" width="20"><input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" /></th> 
    <!-- END multi_selection --> 
  </tr>
   
  <!-- BEGIN pagination --> 
  <tr class="tfa_tr">     
    <td class="row1 tfa" colspan="7" align="right"><span class="gensmall">{PAGINATION}</span></td> 
  </tr>       
  <!-- END pagination -->
 
  <!-- END header_table -->
  <!-- BEGIN header_row -->   
  <tr class="tfa_tr">     
    <td class="row3 tfa" colspan="7"><span class="gensmall"> <b>{topics_list_box.row.L_TITLE}</b></span></td> 
  </tr>   
  <!-- END header_row -->

  <!-- BEGIN topic -->
  {topics_list_box.row.END_TABLE_STICKY} 
  <tr class="tfa_tr">     
    <!-- BEGIN single_selection -->     
    <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>     
    <!-- END single_selection --> 
   
    <!-- ICONE DE MESSAGE -->
  <td class="{topics_list_box.row.ROW_FOLDER_CLASS} row_tfa" align="center" valign="middle" width="20">
      <img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
    </td>   
    <!-- BEGIN icon -->     
    <td class="{topics_list_box.row.ROW_CLASS}" align="center" valign="middle" width="20">{topics_list_box.row.ICON}</td>     
    <!-- END icon --> 
    <!-- TITRE ET AUTEUR DU SUJET -->
    <td class="{topics_list_box.row.ROW_CLASS}" onmouseover='this.className="row2"' onmouseout='this.className="{topics_list_box.row.ROW_CLASS}"' width="100%"> 
    <br> <div style="margin-bottom: -30px; margin-left: 85px;"> {topics_list_box.row.PARTICIPATE_POST_IMG}</div>
  <center>  <div class="list_descrip">
      <div class="topictitle">       
        {topics_list_box.row.NEWEST_POST_IMG}     
     
<h2 class="topic-title">             
  <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">  <center>{topics_list_box.row.TOPIC_TITLE}</center></a></h2>
          <span class="name">
            <br>
<center>    Ouvert par {topics_list_box.row.TOPIC_AUTHOR}.</center>
          </span>     
 <center><span class="chiffres">{topics_list_box.row.REPLIES}</span>
        réponse(s), Vu<span class="chiffres">{topics_list_box.row.VIEWS}</span> fois.        <br>
{topics_list_box.row.LAST_POST_IMG}
      </span>
</center>

        </h2>       
      </div>
 </div>
      <!-- BEGIN switch_description -->       
      <span class="genmed">                   
        {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}       
      </span>       
      <!-- END switch_description -->       
      <span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>         
      <span class="gensmall">{topics_list_box.row.GOTO_PAGE}<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span> 
      </div>
    </td>   
</center> 
    <!-- BEGIN multi_selection -->     
    <td class="row2" align="center" valign="middle">                 
      <span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />                 
      </span>             
    </td> 
    <!-- END multi_selection -->           
  </tr> 
  <!-- END topic --> 
  <!-- BEGIN no_topics -->   
  <tr class="tfa_tr">     
    <td class="row1" colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td> 
  </tr> 
  <!-- END no_topics --><!-- BEGIN bottom --> 
  <tr class="tfa_bottom">     
    <td class="catBottom tfa" colspan="{topics_list_box.row.COLSPAN}" valign="middle">       
      <table width="100%" border="0" cellspacing="0" cellpadding="0">       
  <tr>           
          <td> <span class="gensmall">{PAGINATION}</span></td>             
          <td align="right"><a href="#top">{L_BACK_TO_TOP}</a> </td>       
  </tr>       
      </table>     
    </td> 
  </tr>
<!-- END bottom --><!-- BEGIN footer_table -->
</table><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row -->
  <!-- END topics_list_box -->

Merci d'avance Bisous:3


Dernière édition par Bella♥ le Jeu 9 Mai - 11:30, édité 3 fois
Bella♥

Bella♥
****

Féminin
Messages : 344
Inscrit(e) le : 14/07/2011

http://diamonds-graph.forumactif.org
Bella♥ a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Dernier message poster, ne s'affiche plus.

Message par Invité Mer 8 Mai - 19:16

Salut Bella♥ ,

tu viens chercher de l'aide et non l'inverse pour les membres qui te viendront en aide Wink .

La moindre des politesses est de donner ton template sans les balises hide Wink .



a++
Anonymous

Invité
Invité


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

Résolu Re: Dernier message poster, ne s'affiche plus.

Message par Bella♥ Mer 8 Mai - 19:22

Voila c'est retiré.
Bella♥

Bella♥
****

Féminin
Messages : 344
Inscrit(e) le : 14/07/2011

http://diamonds-graph.forumactif.org
Bella♥ a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Dernier message poster, ne s'affiche plus.

Message par Matriochka Jeu 9 Mai - 11:02

Bonjour,

C’est normal, il manque cette variable dans ton template :
Code:
{catrow.forumrow.LAST_POST}
Wink
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: Dernier message poster, ne s'affiche plus.

Message par Bella♥ Jeu 9 Mai - 11:06

Oui merci,
Mais j'avais essayer de l'intégrer, mais rien ne se passe...
Bella♥

Bella♥
****

Féminin
Messages : 344
Inscrit(e) le : 14/07/2011

http://diamonds-graph.forumactif.org
Bella♥ a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Dernier message poster, ne s'affiche plus.

Message par Matriochka Jeu 9 Mai - 11:08

Où l’as-tu inséré, cette variable ? Il n’y a pas de raison qu’elle ne fonctionne pas.
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: Dernier message poster, ne s'affiche plus.

Message par Bella♥ Jeu 9 Mai - 11:10

Ici :
Code:
 <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">  <center>{topics_list_box.row.TOPIC_TITLE}</center></a></h2>
          <span class="name">
            <br><br/>
 
              <center>    Ouvert par {topics_list_box.row.TOPIC_AUTHOR}.<br>
{catrow.forumrow.LAST_POST}
</center>
Bella♥

Bella♥
****

Féminin
Messages : 344
Inscrit(e) le : 14/07/2011

http://diamonds-graph.forumactif.org
Bella♥ a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Dernier message poster, ne s'affiche plus.

Message par Matriochka Jeu 9 Mai - 11:22

Oups, j’ai lu un peu trop vite, je pensais qu’il s’agissait du template index_box, désolée Laughing

Remplace la variable que je t’ai donnée plus haut par :
Code:
{topics_list_box.row.LAST_POST_TIME}<br />{topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}
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: Dernier message poster, ne s'affiche plus.

Message par Bella♥ Jeu 9 Mai - 11:30

Oh ! Merci beaucoup♥

Problème résolue. Wink
Bella♥

Bella♥
****

Féminin
Messages : 344
Inscrit(e) le : 14/07/2011

http://diamonds-graph.forumactif.org
Bella♥ 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