hypercells v2.0 Einbau in phpBB2.0.2
Verfasst: 10.09.2002 02:04
Möchte folgendes einbauen:
Entweder es ist zu spät oder ich finde die Zeile nicht, die ich in der Index_body.tpl ersätzen muss
Grüße
Mimi
Code: Alles auswählen
########################################################
##
## Hack Title: hypercells v2.0
## Hack Version: 2.0.0 - final release
## Author: psychopathic & Clonedout
## Description: allows users to click anywhere in the
## cell to access the forum or a topic.
##
## Installation Level: Easy!
## Installation Time: 2-5 Minutes
## Files To Edit: 2 (index_body.tpl) (viewforum_body.tpl)
## Included Files: none, cause we're cool like that
##
########################################################
##
## Version 2.0 History:
##
## 2.0 Alpha - Hypercells ported to phpBB2
## 2.0 Final - Cosmetic Effects ported by Clonedout
##
########################################################
#
#-----[ OPEN: ]------------------------------------------
#
# index_body.tpl (located in the templates folder)
#
#-----[ FIND: ]------------------------------------------
#
# <td class="row2"><span class="gen"><a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></span><br /><span class="gensmall">{catrow.forumrow.FORUM_DESC}</span></td>
#
#-----[ REPLACE WITH: ]------------------------------------------
#
# <td class="row2" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="gen"><a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></span><br><span class="gensmall">{catrow.forumrow.FORUM_DESC}</span></td>
#
#-----[ SAVE AND CLOSE: ]------------------------------------------
#
# index_body.tpl
#
#-----[ OPEN: ]------------------------------------------
#
# viewforum_body.tpl (also a template)
#
#-----[ FIND: ]------------------------------------------
#
# <td class="row2"> <span class="gensmall">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a> {topicrow.GOTO_PAGE}</span></td>
#
#-----[ REPLACE WITH: ]------------------------------------------
#
# <td class="row2" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"> <span class="gensmall">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a> {topicrow.GOTO_PAGE}</span></td>
#
#-----[ SAVE AND CLOSE: ]------------------------------------------
#
# viewforum_body.tpl
#
#-----------------------------------------------
#
EOF

Kann jemand helfen???<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" 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><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<!-- END catrow -->

Grüße
Mimi