1 頁 (共 1 頁)

[問題] Hypercells 的變色功能顯示.....

發表於 : 2004-06-23 05:42
牙套海倫
問題外掛:Hypercells for phpBB 2.0 (版本:1.0)
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?p=13290#13290
使用版本:phpBB 2.0.8a
網站位置:http://egg.zapto.org
狀況描述:

我在裝這個外掛以後
發現viewforum的部分很成功的顯示出變色的效果
可是在index的部分就遇上問題了

圖檔

index_body.tpl 目前是這樣\r
[php]<?php
<!-- 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" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" /></td>
<td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#EBEBEB'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><table cellpadding="0" cellspacing="0"><tr><td>
</td>
<td class="row1" width="100%" height="50" onMouseOver="this.style.backgroundColor='#EBEBEB'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{T_TR_COLOR1}" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><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" 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 -->
?>[/php]

我把外掛語法的位置改來改去 還是沒有解決
有沒有人可以解答我的疑惑 可能是哪裡出了問題咧\r

補充: 這個地方還裝過討論區前方加上icon的外掛

發表於 : 2004-06-25 05:52
神川小羽
剛剛在竹貓看到你上線 想必是來看看有沒有人給你答案吧看了一遍你所有的文章
想必你一定是個有禮貌的人\r
所以剛剛我去測試了一下你的問題我先裝了你說的這套ICO外掛 就發現原來
原因就出在

這隻ICO外掛本來就已經有變色的功能了唷

代碼: 選擇全部

   <table cellpadding="0" cellspacing="0"><tr><td> 
   <img src="{catrow.forumrow.FORUM_ICON}" alt="{catrow.forumrow.FORUM_NAME}" /> 
   </td> 
   <td class="row1" width="100%" height="50" [color=red]onMouseOver="this.style.backgroundColor='#FFFFFF'[/color];" [color=red]onMouseOut="this.style.backgroundColor='#F5F3EB'[/color];"><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>

發表於 : 2004-06-25 07:53
牙套海倫
謝謝你的回覆 :-D

我知道這個部分的變色功能\r
但是我在裝的時候用的是動機不明後來提供的語法
就是配合排版的那一段\r

所以我在裝討論區前方加上icon的外掛 並沒有寫入變色的部分
而是把圖示的部分跟各版面的字樣分成兩格\r
(動機不明提供的外掛中是寫在同一格的)

我在想要不要把兩格改回一格 看會不會就成功了.....
(主機商居然把我的資料庫整個搞丟..... :-o )

可是我還是想要把圖示和各版面的字樣分開..... :-|
之前試著換位置擺來擺去都失敗 還因為挫折不停的裝新外掛

發表於 : 2004-06-25 08:06
神川小羽

痾~~~ 是這樣子唷 我以為你是直接用動機不明大大的上面那個方式
那分2個儲存格的話....... 我等等去 試試看這樣的話看來就真的要把Hypercells for phpBB 2.0 (版本:1.0) 裝上去看看嚕