phpBB 2 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)
版主: 版主管理群
-
寒冰軒
- 竹貓忠實會員

- 文章: 417
- 註冊時間: 2003-11-06 23:24
- 來自: 阿婆A灶腳
-
聯繫:
文章
由 寒冰軒 »
斷行
簽名檔
參考了這兩篇文章及其他大大們所發生類似問題修改後
但始終無法解決
其中對於斷行需修改為\r
編輯 viewtopic_body.tpl
尋找
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
替換成
<td colspan="2"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr></table></td>
但是簽名檔文章中要修改成
<tr>
<td colspan="2" HEIGHT="100%" VALIGN="TOP"><span class="postbody">{postrow.MESSAGE}</span><BR /><SPAN CLASS="gensmall">{postrow.EDITED_MESSAGE}</SPAN></td>
</tr>
<tr>
<td colspan="2" VALIGN="BOTTOM"><SPAN CLASS="postbody">{postrow.SIGNATURE}</SPAN></td>
</tr>
而我將其修改成
<tr>
<td colspan="2"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr></table></td>
</tr>
<tr>
<td colspan="2" VALIGN="BOTTOM"><SPAN CLASS="postbody">{postrow.SIGNATURE}</SPAN></td>
</tr>
仍然無法成功
請教各位大大
斷行及簽名檔置底的碼別是否無法並存呢?
如果可以並存~
那我應該如何修改才能有文章斷行及簽名檔置底呢\r
或是得靠文章氣泡這個外掛呢
最後由
寒冰軒 於 2005-04-15 07:05 編輯,總共編輯了 1 次。
~§ 架站系統:WindowsXP §~
~§ 架站程式:Appserv2.4.4a §~
~§ 使用網路:giga ADSL §~
~§ 安裝程式:Apache + php + MySql §~
~§ 論壇版本: 2.0.18 §~
申明檔
1.新手發問並不是
可恥的事.
可恥的是沒有按照
發文規則及格式還裝做沒解決你的問題是我們的錯。
2.很樂意大家
pm給我.或把我加入
即時通.
msn,但加入並不是代表小弟已成為您的
私人看護。
3.還是想不通嗎? 那可以到
地下十八樓找你的答案。
[
http://microduo.home99.tw/?fromuid=6331]微剋多資訊[/url]
-
~倉木麻衣~
- 竹貓忠實會員

- 文章: 1405
- 註冊時間: 2004-03-21 21:00
文章
由 ~倉木麻衣~ »
寒冰軒 寫:但是簽名檔文章中要修改成
<tr>
<td colspan="2" HEIGHT="100%" VALIGN="TOP"><span class="postbody">{postrow.MESSAGE}</span><BR /><SPAN CLASS="gensmall">{postrow.EDITED_MESSAGE}</SPAN></td>
</tr>
<tr>
<td colspan="2" VALIGN="BOTTOM"><SPAN CLASS="postbody">{postrow.SIGNATURE}</SPAN></td>
</tr>
嗯?您確定文章中是說要這麼改的嗎?
-
寒冰軒
- 竹貓忠實會員

- 文章: 417
- 註冊時間: 2003-11-06 23:24
- 來自: 阿婆A灶腳
-
聯繫:
文章
由 寒冰軒 »
^^" 其實那一段的上面還有一大段
只是我比對兩者差異\r
所以猜想可能是這段語法吧\r
所以一直改它
但是都沒有成功
對語法還不是很懂
只好看能不能被我改中
結果是不能~
我有修改成
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" align="right" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><span class="gensmall">{postrow.POST_EXTRA}</span></td>額外訊息碼別
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">{postrow.MESSAGE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td></tr></table></td>
</tr>
<tr>
<td colspan="2" VALIGN="BOTTOM"><SPAN CLASS="postbody">{postrow.SIGNATURE}</SPAN></td>
</tr>
</table></td>
發文欄位是有出現我想要的畫面 但是上方的
引言部份的欄位就全跑掉了
最後由
寒冰軒 於 2005-04-15 06:59 編輯,總共編輯了 1 次。
~§ 架站系統:WindowsXP §~
~§ 架站程式:Appserv2.4.4a §~
~§ 使用網路:giga ADSL §~
~§ 安裝程式:Apache + php + MySql §~
~§ 論壇版本: 2.0.18 §~
申明檔
1.新手發問並不是
可恥的事.
可恥的是沒有按照
發文規則及格式還裝做沒解決你的問題是我們的錯。
2.很樂意大家
pm給我.或把我加入
即時通.
msn,但加入並不是代表小弟已成為您的
私人看護。
3.還是想不通嗎? 那可以到
地下十八樓找你的答案。
[
http://microduo.home99.tw/?fromuid=6331]微剋多資訊[/url]
-
~倉木麻衣~
- 竹貓忠實會員

- 文章: 1405
- 註冊時間: 2004-03-21 21:00
文章
由 ~倉木麻衣~ »
重點是在
該篇文章中的這一段\r
你是連下面的簽名都要自動斷行嗎?
應該是改成這樣...
代碼: 選擇全部
<tr>
<td colspan="2" HEIGHT="100%" VALIGN="TOP"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">{postrow.MESSAGE}</span><BR /><SPAN CLASS="gensmall">{postrow.EDITED_MESSAGE}</SPAN></td></tr></table></td>
</tr>
<tr>
<td colspan="2" VALIGN="BOTTOM">[color=blue]<table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><SPAN CLASS="postbody">{postrow.SIGNATURE}</SPAN>{postrow.ATTACHMENTS}</td></tr></table>[/color]</td>
</tr>
您上面貼的修改內容完全沒去動到{postrow.SIGNATURE}簽名檔的內容
當然不會有作用了@@
-
寒冰軒
- 竹貓忠實會員

- 文章: 417
- 註冊時間: 2003-11-06 23:24
- 來自: 阿婆A灶腳
-
聯繫:
文章
由 寒冰軒 »
原來~ 嘻嘻\r
倉木大大 謝謝您\r
成功了
~§ 架站系統:WindowsXP §~
~§ 架站程式:Appserv2.4.4a §~
~§ 使用網路:giga ADSL §~
~§ 安裝程式:Apache + php + MySql §~
~§ 論壇版本: 2.0.18 §~
申明檔
1.新手發問並不是
可恥的事.
可恥的是沒有按照
發文規則及格式還裝做沒解決你的問題是我們的錯。
2.很樂意大家
pm給我.或把我加入
即時通.
msn,但加入並不是代表小弟已成為您的
私人看護。
3.還是想不通嗎? 那可以到
地下十八樓找你的答案。
[
http://microduo.home99.tw/?fromuid=6331]微剋多資訊[/url]