1 頁 (共 1 頁)

發表於 : 2006-01-01 06:16
阿斌
延續上次Integrated Toplist的問題..
首頁那個主題寬度怎麼改啊?
圖檔

發表於 : 2006-01-02 23:01
心靈捕手
阿斌 寫:延續上次Integrated Toplist的問題..
首頁那個主題寬度怎麼改啊?
圖檔
修改 templates/YOUR_THEME/index_body.tpl

以下是安裝此外掛, 所新增的原始碼:

代碼: 選擇全部

<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
  <tr>
 <td valign="top">
<table width="100%" border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
	<tr> 
	  <th align="center" class="thCornerL" width="20%">&nbsp;{L_FORUM}&nbsp;</th>
	  <th align="center" class="thTop" width="40%">&nbsp;{L_TOPICS}&nbsp;</th>
	  <th align="center" class="thTop" nowrap>&nbsp;&nbsp;{L_AUTHOR}&nbsp;&nbsp;</th>
	  <th align="center" class="thTop" nowrap>&nbsp;{L_REPLIES}&nbsp;</th>
	  <th align="center" class="thTop" nowrap>&nbsp;{L_VIEWS}&nbsp;</th>
	  <th align="center" class="thCornerR" nowrap>&nbsp;{L_LASTPOST}&nbsp;</th>
	</tr>
	<!-- BEGIN toprow -->
  <tr>
 <td class="row1" nowrap><span class="forumlink"><a href="{toprow.FORUM_URL}" target="_top" class="forumlink">{toprow.FORUM_NAME}</a></span></td> 
 <td class="row2" nowrap><span class="topictitle"><a href="{toprow.TOPIC_URL}" target="_top" class="topictitle">{toprow.TOPIC}</a></span></td>
 <td class="row1" align="center" nowrap><span class="name">{toprow.POSTER_URL}</span></td>
 <td class="row2" align="center" nowrap><span class="postdetails">{toprow.TOPIC_REPLIES}</span></td>
 <td class="row1" align="center" nowrap><span class="postdetails">{toprow.TOPIC_VIEWS}</span></td>
 <td class="row2" align="center" nowrap><span class="postdetails">{toprow.POST_TIME}<br />{toprow.REPLIER_URL}&nbsp;<a href="{toprow.LAST_POST_URL}" target="_top"><img src="{ICON_URL}" border="0" alt="{ICON_ALT}" /></a></span></td>  
  </tr>
  <!-- END toprow -->
</table>
 </td>  
  </tr>
</table>
其中 width="40%" 就是您上圖( 紅圈) 欄位的寬度設定.

發表於 : 2006-01-03 06:06
阿斌
心靈捕手 寫:
阿斌 寫:延續上次Integrated Toplist的問題..
首頁那個主題寬度怎麼改啊?
圖檔
修改 templates/YOUR_THEME/index_body.tpl

以下是安裝此外掛, 所新增的原始碼:

代碼: 選擇全部

<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
  <tr>
 <td valign="top">
<table width="100%" border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
	<tr> 
	  <th align="center" class="thCornerL" width="20%">&nbsp;{L_FORUM}&nbsp;</th>
	  <th align="center" class="thTop" width="40%">&nbsp;{L_TOPICS}&nbsp;</th>
	  <th align="center" class="thTop" nowrap>&nbsp;&nbsp;{L_AUTHOR}&nbsp;&nbsp;</th>
	  <th align="center" class="thTop" nowrap>&nbsp;{L_REPLIES}&nbsp;</th>
	  <th align="center" class="thTop" nowrap>&nbsp;{L_VIEWS}&nbsp;</th>
	  <th align="center" class="thCornerR" nowrap>&nbsp;{L_LASTPOST}&nbsp;</th>
	</tr>
	<!-- BEGIN toprow -->
  <tr>
 <td class="row1" nowrap><span class="forumlink"><a href="{toprow.FORUM_URL}" target="_top" class="forumlink">{toprow.FORUM_NAME}</a></span></td> 
 <td class="row2" nowrap><span class="topictitle"><a href="{toprow.TOPIC_URL}" target="_top" class="topictitle">{toprow.TOPIC}</a></span></td>
 <td class="row1" align="center" nowrap><span class="name">{toprow.POSTER_URL}</span></td>
 <td class="row2" align="center" nowrap><span class="postdetails">{toprow.TOPIC_REPLIES}</span></td>
 <td class="row1" align="center" nowrap><span class="postdetails">{toprow.TOPIC_VIEWS}</span></td>
 <td class="row2" align="center" nowrap><span class="postdetails">{toprow.POST_TIME}<br />{toprow.REPLIER_URL}&nbsp;<a href="{toprow.LAST_POST_URL}" target="_top"><img src="{ICON_URL}" border="0" alt="{ICON_ALT}" /></a></span></td>  
  </tr>
  <!-- END toprow -->
</table>
 </td>  
  </tr>
</table>
其中 width="40%" 就是您上圖( 紅圈) 欄位的寬度設定.
可是登入後主題那裡欄位似乎沒改變..

發表於 : 2006-01-03 14:39
心靈捕手
To 阿斌:

您後面的問題, 似乎跟這個討論主題無關.

建議您:
1. 依照發問格式(補齊), 建立新主題
2. 貼出論壇網址
3. 提供測試帳密

ps.
與原主題分割.