Ik zit met het volgende probleem. Ik heb de Simple Subforums mod geinstalleerd en werkt 'goed'. Behalve op de index-pagina niet. Hij maakt namelijk gewoon een nieuw forum aan!
Zie screenshot:
Hij geeft in het forum zelf wel aan als subforum.
Zie screenshot:
Ik denk dat het te maken heeft met de index_body.tpl, maar kan niks vinden. Zal hier even copy-paste doen van de code die ik nu heb:
Code: Selecteer alles
<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thTop" colspan="2" height="28">{catrow.CAT_DESC}</td>
<th class="thTop" colspan="3" align="right"> </td>
</tr>
<tr>
<th colspan="2" class="cat1" width="100%" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="70" class="cat1" nowrap="nowrap"> {L_TOPICS} </th>
<th width="70" class="cat1" nowrap="nowrap"> {L_POSTS} </th>
<th width="200" class="cat1" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<!-- IF ! forumrow.PARENT -->
<tr>
<td class="row1" align="center" valign="middle" height="50">
<img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</td>
<td class="row1" width="100%" height="50">
<span class="forumlink"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /></span>
<span class="genmed">{catrow.forumrow.FORUM_DESC}<br /></span>
<!-- IF catrow.forumrow.MODERATORS --><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span><!-- ENDIF -->
<!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 -->, <!-- ELSE --><span class="genmed">{L_SUBFORUMS}: <!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
<!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF -->
</td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- ENDIF -->
<!-- END forumrow -->
</table>
<table width="100%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="5" valign="middle"></td>
</tr>
</table>
<!-- END catrow -->