1 頁 (共 1 頁)

[問題] 版面區分外掛的問題

發表於 : 2005-03-28 21:01
黑風凱特
請問各位前輩,我在裝Split topic type(版面區分外掛)時,遇到了問題....

完全不知該怎改viewforum_body.tpl裡的一段\r

這是安裝說明

代碼: 選擇全部

#
#-----[ FIND ]------------------------------------------------
#
	  <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
	  <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
		{topicrow.GOTO_PAGE}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
	  <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
	  <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
#
#-----[ REPLACE WITH ]---------------------------------------- 
# add row. in front of each field, also set title width to 100%
	  <td class="row1" align="center" valign="middle" width="20"><img src="{row.topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{row.topicrow.L_TOPIC_FOLDER_ALT}" title="{row.topicrow.L_TOPIC_FOLDER_ALT}" /></td>
	  <td class="row1" width="100%"><span class="topictitle">{row.topicrow.NEWEST_POST_IMG}{row.topicrow.TOPIC_TYPE}<a href="{row.topicrow.U_VIEW_TOPIC}" class="topictitle">{row.topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
		{row.topicrow.GOTO_PAGE}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{row.topicrow.REPLIES}</span></td>
	  <td class="row3" align="center" valign="middle"><span class="name">{row.topicrow.TOPIC_AUTHOR}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{row.topicrow.VIEWS}</span></td>
	  <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{row.topicrow.LAST_POST_TIME}<br />{row.topicrow.LAST_POST_AUTHOR} {row.topicrow.LAST_POST_IMG}</span></td>
這是我viewforum_body.tpl的相關那段

代碼: 選擇全部

<!-- END header_row -->
			</tr>
			<!-- BEGIN topicrow -->
			<tr> 
			  <td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
			  <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
				{topicrow.GOTO_PAGE}</span></td>
			  <td class="row1" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
			  <td class="row1" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
			  <td class="row1" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
			  <td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
			</tr>
			<!-- END topicrow -->
			<!-- BEGIN switch_no_topics -->
			<tr> 
			  <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="genmed">{L_NO_TOPICS}</span></td>
			</tr>
			<!-- END switch_no_topics -->
	<!-- BEGIN footer -->
麻煩了

發表於 : 2005-03-30 04:55
寒冰軒
#-----[ REPLACE WITH ]----------------------------------------

替換

發表於 : 2005-03-30 21:43
DL
把找到的,改成下面的。

發表於 : 2005-03-30 21:49
問題狂
他用的風格不適subSilver所以會有不一樣\r
照理來講找到不相同的地方貼上再改成符合自己樣式的樣式就好了