Re: Bloc forum ! | Titre du sujet : Re: Bloc forum ! par capouille sur 07/10/2008 20:14:58
Salut, vide les dossiers cache et template_c (sauf index.html) et vérifie que dans ton template tu as bien ce code :
<table class="outer" cellspacing="1">
<{if $block.disp_mode == 0}>
<tr>
<th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_FORUM}></th>
<th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_VIEWS}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th>
<td></td>
</tr>
<{foreach item=topic from=$block.topics}>
<tr class="<{cycle values=" even,odd"}>
<td>"></td>
<td><a href="<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a></td>
<td>
<a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{if $topic.topic_subject}>
<{$topic.topic_subject}>
<{/if}>
<{$topic.title}></a><{$topic.topic_page_jump}></td>
<td align="center"><{$topic.replies}></td>
<td align="center"><{$topic.views}></td>
<td align="right"><{$topic.time}><{$topic.topic_poster}> <{$topic.jump_post}></td>
</tr>
<{/foreach}>
<{elseif $block.disp_mode == 1}>
<tr>
<th class="head" nowrap="nowrap"><{$smarty.const._MB_NEWBB_TOPIC}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_RPLS}></th>
<th class="head" align="center" nowrap="nowrap"><{$smarty.const._MB_NEWBB_LPOST}></th>
<td></td>
<td></td>
<td></td>
</tr>
<{foreach item=topic from=$block.topics}>
<tr class="<{cycle values=" even,odd"}>
<td>"></td>
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></td>
<td align="center"><{$topic.replies}></td>
<td align="right"><{$topic.time}><br /><{$topic.topic_poster}> <{$topic.jump_post}></td>
<td></td>
<td></td>
</tr>
<{/foreach}>
<{elseif $block.disp_mode == 2}>
<{foreach item=topic from=$block.topics}>
<tr class="<{cycle values=" even,odd"}>
<td>"></td>
<td><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>"><{$topic.title}></a></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<{/foreach}>
<{/if}>
</table>
<{if $block.indexNav}>
<div style="text-align:right; padding: 5px;">
<a href="<{$xoops_url}>/modules/newbb/viewpost.php"><{$smarty.const._MB_NEWBB_ALLPOSTS}></a> |
<a href="<{$xoops_url}>/modules/newbb/viewall.php"><{$smarty.const._MB_NEWBB_ALLTOPICS}></a> |
<a href="<{$xoops_url}>/modules/newbb/"><{$smarty.const._MB_NEWBB_VSTFRMS}></a>
</div>
<{/if}>
|
|