Problème topics_list_box (sous description)

2 participants

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

Résolu Problème topics_list_box (sous description)

Message par Brenda. Lun 23 Nov 2020 - 10:49

Détails techniques


Version du forum : phpBB2
Poste occupé : Administrateur
Navigateur(s) concerné(s) : Google Chrome
Personnes concernées par le problème : Tous les utilisateurs
Lien du forum : (lien masqué, vous devez poster pour le voir)

Description du problème

Bonjour,

Je viens vers vous car j'ai modifié mon template topics_list_box. Cela fonctionne, mais j'ai remarqué que je n'ai plus "la sous description" pour un sujet. J'ai tenté de remettre "{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}", car je pense que c'est cette partie qui gère ça, mais sans succès !

Merci en avance de votre future aide !

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" width="100%" border="0" cellspacing="1" cellpadding="0">
  <tr>
    <td valign="center" align="center">
      <span class="leslettres">
        Les petites lettres
      </span>
    </td>
  </tr>
  <tr>
    <td valign="middle" align="center">
      <table class="liste0" cellspacing="0" cellpadding="0">
        <tbody>
<!-- END header_table -->
<!-- BEGIN header_row -->
<!-- END header_row -->
<!-- BEGIN topic -->
          <tr>
            <td valign="middle" align="center" colspan="2">
              <table class="liste1" cellspacing="7" cellpadding="0">
                <tbody>
                  <tr>
                    <td valign="middle" align="left" width="210">
                    <div class="typesuj">{topics_list_box.row.TOPIC_TYPE} </div>
                      <a class="sujetlink" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
                      {topics_list_box.row.PARTICIPATE_POST_IMG}
                    </td>
                    <td valign="middle" align="center" width="320"><ope>OUVERT PAR </ope>
                      <span class="sujet_auteur">
                        {topics_list_box.row.TOPIC_AUTHOR}
                      </span>
                      <br />
                      <div class="stats">
                        Réponses : <em>{topics_list_box.row.REPLIES}</em> - Vues : <em>{topics_list_box.row.VIEWS}</em>
                      </div>
                     
                    </td>
                    <td valign="middle" align="right" width="210">
                      {topics_list_box.row.LAST_POST_TIME}
                      <br />
                   
                      <span class="sujet_last_auteur">
                        {topics_list_box.row.LAST_POST_AUTHOR}
                      </span> a répondu.  {topics_list_box.row.LAST_POST_IMG}
                       
                    </td><td>  <!-- BEGIN avatar -->
         
            <span class="dernierposteur">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
                    <!-- END avatar --></td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
    <tr>
            <td valign="middle" align="center" colspan="2">
              <table class="sujet" cellspacing="7" cellpadding="0">
                <tbody>
                  <tr>
                    <td valign="middle" align="center">
                      <span class="sujets_font">
                        {topics_list_box.row.L_NO_TOPICS}
                      </span>
                    </td>
                  </tr>
                </tbody>
              </table>
          </td>
  </tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
  <tr>
    <td align="left">
            <span class="sujets_font">
              {PAGINATION}
            </span>
          </td>
    <td align="right">
            <a href="#top" class="sujets_font">
              {L_BACK_TO_TOP}
            </a>&nbsp;
          </td>
  </tr>
<!-- END bottom -->
<!-- BEGIN footer_table -->
        </tbody>
      </table>
    </td>
  </tr>
</table>
<!-- END footer_table -->
<!-- BEGIN spacer -->
<br class="gensmall" />
<!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
Brenda.

Brenda.
Nouveau membre

Féminin
Messages : 5
Inscrit(e) le : 07/01/2020

https://SAINTTROPEZ.FORUMACTIF.COM
Brenda. a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème topics_list_box (sous description)

Message par Invité Mer 25 Nov 2020 - 17:46

Hello Brenda. ,

repères la variable concernée:
Code:
{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}

Et remplaces par:
Code:
       
<!-- BEGIN switch_description -->
{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
<!-- END switch_description -->

Et voilou.

a++
Anonymous

Invité
Invité


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

Résolu Re: Problème topics_list_box (sous description)

Message par Chacha Dim 29 Nov 2020 - 9:43

Problème topics_list_box (sous description) UmaslZ4Bonjour,

Attention, cela fait 6 jours que nous n'avons pas de nouvelles concernant votre demande, si vous ne voulez pas voir votre sujet déplacé à la corbeille, merci de poster dans les 24h qui suivent ce message.

Si votre sujet est résolu, merci d'éditer votre premier message et de cocher l'icône « résolu »
Chacha

Chacha
Modéractif
Modéractif

Masculin
Messages : 69476
Inscrit(e) le : 21/08/2010

https://forum.forumactif.com/
Chacha a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème topics_list_box (sous description)

Message par Chacha Lun 30 Nov 2020 - 9:22

Problème topics_list_box (sous description) 8djze9qBonjour,

Nous n'avons plus de nouvelle de l'auteur de ce sujet depuis plus de 7 jours. Nous considérons donc ce problème comme résolu ou abandonné. La prochaine fois, merci de nous tenir au courant de l'évolution de votre problème, ou pensez à faire un UP régulièrement !

Ce sujet est archivé afin de ne pas perdre les réponses apportées.
Chacha

Chacha
Modéractif
Modéractif

Masculin
Messages : 69476
Inscrit(e) le : 21/08/2010

https://forum.forumactif.com/
Chacha 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