Problème description sujet (codage)
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1 • Partagez
Problème description sujet (codage)
Détails techniques
Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Mozilla Firefox
Personnes concernées par le problème : Tous les utilisateurs
Lien du forum : http://pokemon-heroes.forumactif.be
Description du problème
Bonjour,J'ai un problème au niveau de la description de mes sujets, la description ne s'affiche pas. J'ai installé un nouveau template mais je n'arrive pas à voir où est le problème.
Voici le problème, normalement, certains sujets ont une description :
- Spoiler:
- Spoiler:
- 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 -->
<link href='http://fonts.googleapis.com/css?family=Lobster|Great+Vibes' rel='stylesheet' type='text/css' />
<table class="sujets" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="center" align="center">
<span class="sujets_top_title">
Liste des sujets
</span>
</td>
</tr>
<tr>
<td valign="middle" align="center">
<table class="sujets_list" 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="sujet" cellspacing="7" cellpadding="0">
<tbody>
<tr>
<td valign="middle" align="left" width="210">
Composé par
<span class="sujet_auteur">
{topics_list_box.row.TOPIC_AUTHOR}
</span>
<br />
<span class="sujet_stats">
Réponses: <em>{topics_list_box.row.REPLIES}</em> | Vues: <em>{topics_list_box.row.VIEWS}</em>
</span>
</td>
<td valign="middle" align="center" width="320">
<div class="sujet_type">{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.PARTICIPATE_POST_IMG}
<span class="genmed">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</span>
</td>
<td valign="middle" align="right" width="210">
{topics_list_box.row.LAST_POST_IMG} {topics_list_box.row.LAST_POST_TIME}
<br />
Répondu par
<span class="sujet_last_auteur">
{topics_list_box.row.LAST_POST_AUTHOR}
</span>
</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>
</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 -->
Ce code a été ajouté mais la description n'apparait pas :
- Code:
<span class="genmed">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</span>
Merci ♥
Dernière édition par alix le Sam 31 Oct 2015 - 19:54, édité 1 fois
Re: Problème description sujet (codage)
bonsoir essayer avec celle ci
cdl,
- Code:
<!-- BEGIN switch_description -->
<span class="genmed">
<br />
{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
</span>
<!-- END switch_description -->
cdl,
Invité- Invité
Re: Problème description sujet (codage)
Merci, ça fonctionne ♥
Sujets similaires
» Mettre l'icone de message dans le titre du sujet (+la description du sujet si possible)
» Problème d'affichage de titre de sujet / date du sujet / auteur du sujet
» Description sujet
» - Une description de sujet
» Description sujet qui n'apparait pas.
» Problème d'affichage de titre de sujet / date du sujet / auteur du sujet
» Description sujet
» - Une description de sujet
» Description sujet qui n'apparait pas.
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum