bis jetzt nur ein Teilerfolg. Ich hab jetzt den Teil in der index_body.tpl so gelöst:
Code: Alles auswählen
<!-- BEGIN switch_forum_link_off -->
<td class="row1" height="45" align="center" valign="middle">{catrow.forumrow.S_MARK_LINK_START}{catrow.forumrow.U_MARK_ALWAYS_READ}{catrow.forumrow.S_MARK_LINK_END}</td>
<td class="row1" align="center" valign="middle" height="50">{catrow.forumrow.FORUM_ICON_IMG}</td>
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#d9e2ec'; this.style.cursor='default';" onMouseOut="this.style.backgroundColor='#eaedf4';" onClick="window.location.href='{catrow.forumrow.U_VIEWFORUM}';"><a href="{catrow.forumrow.U_VIEWFORUM}" class="nav" {catrow.forumrow.FORUM_LINK_TARGET}>{catrow.forumrow.FORUM_NAME}</a>
<!-- END switch_forum_link_off -->
<!-- BEGIN switch_forum_link_on -->
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="32px" height="32px"alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" align="center" valign="middle" height="50">{catrow.forumrow.FORUM_ICON_IMG}</td>
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#d9e2ec'; this.style.cursor='default';" onMouseOut="this.style.backgroundColor='#eaedf4';" onClick="window.open('{catrow.forumrow.U_VIEWFORUM}', '_blank'); return false;"><a href="{catrow.forumrow.U_VIEWFORUM}" class="nav" target="blank">{catrow.forumrow.FORUM_NAME}</a><br />
<!-- END switch_forum_link_on -->
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------
#
'FORUM_FOLDER_IMG' => $folder_image,
#
#-----[ REPLACE WITH ]------------------------------------------
#
'FORUM_FOLDER_IMG' => ( $forum_data[$j]['title_is_link'] == 1 && $forum_data[$j]['forum_link_icon'] != '' ) ? $forum_data[$j]['forum_link_icon'] : $folder_image,
'FORUM_LINK_COUNT' => ( $forum_data[$j]['title_is_link'] == 1 ) ? sprintf($lang['Forum_link_count'], $forum_data[$j]['forum_link_count']) : '',
'FORUM_LINK_TARGET' => ($forum_data[$j]['forum_link_target']) ? 'target="_blank"' : '',
#
#-----[ FIND ]------------------------------------------
#
'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
);
#
#-----[ REPLACE WITH ]------------------------------------------
#
'U_VIEWFORUM' => ( $forum_data[$j]['title_is_link'] == 1 ) ? append_sid("index.$phpEx?" . POST_FORUM_URL . "=$forum_id&forum_link=1") : append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
);
if ($forum_data[$j]['title_is_link'])
{
$template->assign_block_vars('catrow.forumrow.switch_forum_link_on', array());
}
else
{
$template->assign_block_vars('catrow.forumrow.switch_forum_link_off', array());
}
Also müssten es doch im Prinzip einen dritten Switch geben, oder? Also einmal für den normalen Forenlink, einen für Link intern und einen für Link extern ...
Vielen Dank und Gruß
Felix