changer les "," en "♫" dans les sous forums

2 participants

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

Résolu changer les "," en "♫" dans les sous forums

Message par Fleurine Mer 25 Mar 2015 - 1:05

Bonjour,

je viens de me rendre compte en fermant un problème que je considérais résolu qu'il ne l'était pas du tout :/...
Vous le sujet trouverez ici

Je souhaiterais changer les "," en "♫" dans les sous forums. J'ai trouvé des explications sur un sujet similaire ici. Cependant, comme j'ai touché à mon template index-box je ne peux pas le faire. J'ai essayé et cela empêchait le javascript qui permet à mes catégories de se mettre en accordéon de s'exprimer.

Après avoir essayé les différentes aides je me suis rendu compte qu'aucune ne fonctionne. Dans la dernière les sous forums (LES RÈGLES DE MAHOU ♫ CONTEXTE & INFOS' ♫ CRÉDITS & AUTRES) se répètent dans tous les forums. Voici une image explicative:

Spoiler:

Maintenant que vous avez une image avec le rendu de la dernière aide que l'on m'a proposé sur l'autre sujet, j'ai remis mon template index-box tel qu'il est la:

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 -->
<center>
<table class="forumline tfa" width="100%" cellspacing="3" cellpadding="7">
  <tr>
    <th class="secondarytitle" width="100%" nowrap="nowrap" colspan="3">
  {catrow.tablehead.L_FORUM}
    </th>
  </tr>
  <!-- END tablehead -->
 
 <!-- BEGIN forumrow -->
  <tr>
    <td width="75%"> 
      <!-- DÉBUT DESCRIPTION FORUM -->
        <div class="tfa_description">
      <!-- DÉBUT TITRE FORUM -->
          <div class="forum_titre">
            <h{catrow.forumrow.LEVEL} class="hierarchy">
              <span class="forumlink">
                <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
              </span>
              </h{catrow.forumrow.LEVEL}>
          </div>
      <!-- FIN TITRE FORUM -->         
          <div style="clear:both;"></div>   
          <div class="descrp">
            <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
         
            <div class="tfa_sous_forum">
            <span class="gensmall"> {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS} </span>
                 
          </div>
         
          </div>
     
        </div>
      <!-- FIN DESCRIPTION FORUM --> 
    </td>
 
    <!-- DÉBUT DERNIERS MESSAGES -->
    <td width="25%" valign="middle">
        <div class="derniers_tfa_messages">           
    <!-- DEBUT ICONE NEW/NO-NEW/CLOS -->
          <div class="icone_tfa_cat"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}"  /></div>
    <!-- FIN ICONE NEW/NO-NEW/CLOS -->
          <span class="gensmall">{catrow.forumrow.LAST_POST}<br><br>
            {catrow.forumrow.TOPICS} SUJETS | {catrow.forumrow.POSTS} MESSAGES</span>
        </div>
    </td>
<!-- FIN DERNIERS MESSAGES -->
    </tr>
  <!-- END forumrow -->
 
  <!-- BEGIN catfoot -->
  <tr>
      <td class="spaceRow" colspan="2" 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 -->

Bref, j'espère que vous pourrez m'aider rapidement. C'est un gros problème ha ha ha! Pourtant cela paraissait tellement simple avant que je ne modifie mon index-box pour d'autre codages =D.

Je vous remercie d'avance pour votre aide.


Dernière édition par Fleurine le Mer 25 Mar 2015 - 17:26, édité 1 fois
Fleurine

Fleurine
****

Féminin
Messages : 243
Inscrit(e) le : 23/07/2012

http://residence-hinata.forumactif.org/
Fleurine a été remercié(e) par l'auteur de ce sujet.

Résolu Re: changer les "," en "♫" dans les sous forums

Message par MlleAlys Mer 25 Mar 2015 - 14:10

EDIT ah, je viens de reproduire effectivement, désolée ^^" Je cherche du coup, message inutile... =s


RE-EDIT :
j'ai bidouillé, mais finalmeent avec ce template, onglets et sous forums semblent fonctionner ^^ :
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 -->
<center>
<table class="forumline tfa" width="100%" cellspacing="3" cellpadding="7">
  <tr>
    <th class="secondarytitle" width="100%" nowrap="nowrap" colspan="3">
  {catrow.tablehead.L_FORUM}
    </th>
  </tr>
  <!-- END tablehead -->
 
 <!-- BEGIN forumrow -->
  <tr>
    <td width="75%">
      <!-- DÉBUT DESCRIPTION FORUM -->
        <div class="tfa_description">
      <!-- DÉBUT TITRE FORUM -->
          <div class="forum_titre">
            <h{catrow.forumrow.LEVEL} class="hierarchy">
              <span class="forumlink">
                <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
              </span>
              </h{catrow.forumrow.LEVEL}>
          </div>
      <!-- FIN TITRE FORUM -->     
          <div style="clear:both;"></div>
          <div class="descrp">
            <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
     
            <div class="tfa_sous_forum" id="sousforums">
              <span class="gensmall"> {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS} </span> 
              <script type="text/javascript">
                          jQuery('#sousforums').html(jQuery('#sousforums').html().replace(/, /g,' ♫ ')).removeAttr('id');
              </script>         
            </div>
     
          </div>
 
        </div>
      <!-- FIN DESCRIPTION FORUM -->
    </td>
 
    <!-- DÉBUT DERNIERS MESSAGES -->
    <td width="25%" valign="middle">
        <div class="derniers_tfa_messages">       
    <!-- DEBUT ICONE NEW/NO-NEW/CLOS -->
          <div class="icone_tfa_cat"><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}"  /></div>
    <!-- FIN ICONE NEW/NO-NEW/CLOS -->
          <span class="gensmall">{catrow.forumrow.LAST_POST}<br/><br/>
            {catrow.forumrow.TOPICS} SUJETS | {catrow.forumrow.POSTS} MESSAGES</span>
        </div>
    </td>
<!-- FIN DERNIERS MESSAGES -->
    </tr>
  <!-- END forumrow -->
 
  <!-- BEGIN catfoot -->
  <tr>
      <td class="spaceRow" colspan="2" 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 -->

même si je ne sauris expliquer le pourquoi du comment ^^"
MlleAlys

MlleAlys
Membre actif

Messages : 5767
Inscrit(e) le : 12/09/2012

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

Résolu Re: changer les "," en "♫" dans les sous forums

Message par Fleurine Mer 25 Mar 2015 - 17:26

Kya!! Merci beaucoup! Il semblerait que tu ais vraiment réussi à régler mon problème!! Merci beaucoup (^u^)
On se voit une prochaine sur mon fow peut être! Bisous, bisous Very Happy
Fleurine

Fleurine
****

Féminin
Messages : 243
Inscrit(e) le : 23/07/2012

http://residence-hinata.forumactif.org/
Fleurine 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