I have a forum icon mod and I am trying to install a simple subforum mod too.
However the two dont seam to work together very well, when I have the subforum working the forum icons dissapear and when I get the icons back the subforums dissapear
Can anyone tell me what I need to do with this code please to integrate the two ?
OLD CODE WHICH WORKS AND GIVES ME THE FORUM ICONS
- Code: Select all
<tr>
<td class="row1" width="100%" height="50"><table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr><td><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_ICON_IMG}</a></td>
<td width="100%"><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><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
</td>
</tr>
</table></td>
<td class="row2 row-center-small">{catrow.forumrow.TOPICS}</td>
<td class="row2 row-center-small">{catrow.forumrow.POSTS}</td>
<td class="row3 row-center-small" width="130">{catrow.forumrow.LAST_POST}</td>
</tr>
AM ASKED TO REPLACE IT WITH THIS FOR SUBFORUMS AND I LOSE MY FORUM ICONS
- Code: Select all
<tr>
<td class="row3 row-center" width="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="25" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1h{catrow.forumrow.XS_NEW} row-forum" width="70%" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><a class="forumlink{catrow.forumrow.XS_NEW}" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
<!-- 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 -->
</span><span class="moderators"> <!-- IF catrow.forumrow.MODERATORS -->{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /><!-- ENDIF --> </span></td>
<td class="row2 row-center-small">{catrow.forumrow.TOTAL_TOPICS}</td>
<td class="row2 row-center-small">{catrow.forumrow.TOTAL_POSTS}</td>
<td class="row3 row-center-small" width="130">{catrow.forumrow.LAST_POST}</td>
</tr>
Like I said when I overwrite like it tells me to in the subforum mod I lose me forum icons.
Any help would be much appreciated.
Cheers guys.
Matt


