Forum Icon with ACP Control und Simple Subforums
Verfasst: 21.02.2009 11:07
Hi
Ich habe problem mit Forum Icon with ACP Control und Simple Subforums.Ich kriege das nicht hin das die icons in unter kategorien angezeigt werden, auf der haupt kategorie kan ich icons anzeigen aber unter kategorie klapt das nicht.
Hier habe ich was gefunden und auch eingebaut,leider immer noch das problem.
http://www.phpbb.com/community/viewtopic.php?p=2866868
Ob ich den index_body.tpl nicht richtig angepast habe ? kan bitte jemand das mal angucken.
Das ist meine kod, ich konnte das nicht anpassen, immer war die seite zerstört.Und wen ich sie angepast habe war die nur bei haupt kategorie zu sehen.
MFG
Ich habe problem mit Forum Icon with ACP Control und Simple Subforums.Ich kriege das nicht hin das die icons in unter kategorien angezeigt werden, auf der haupt kategorie kan ich icons anzeigen aber unter kategorie klapt das nicht.
Hier habe ich was gefunden und auch eingebaut,leider immer noch das problem.
http://www.phpbb.com/community/viewtopic.php?p=2866868
Ob ich den index_body.tpl nicht richtig angepast habe ? kan bitte jemand das mal angucken.
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<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 />
<!-- 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>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<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 />
<!-- 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>
</tr>
</table></td>
Code: Alles auswählen
<td class="row1" align="center" valign="middle" height="50">
{catrow.forumrow.U_MARK_ALWAYS_READ}</td>
<td class="row1"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_ICON_IMG}</a>
<td class="row1" width="100%" height="50"><span class="areatext">
<a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink<!-- IF catrow.forumrow.TOTAL_UNREAD --> topic-new<!-- ENDIF -->" class="areatext">
<span style="text-decoration: none">{catrow.forumrow.FORUM_NAME}</span></a><br />
</span><span class="genmed"><b>{catrow.forumrow.FORUM_DESC}</b><br /></span>
<!-- IF catrow.forumrow.MODERATORS -->
<span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span>
<!-- ENDIF -->