- 積分
- 65
- 金幣
- 4 個(gè)
- 社區(qū)幣
- 0 元
漸入佳境
- 貢獻(xiàn)
- 1 點(diǎn)
- 金幣
- 4 個(gè)
|
如何讓分類信息內(nèi)容一直顯示,意思就是訪客、設(shè)在購買主題的帖子 分類信息 內(nèi)容依然顯示。
我在模板里 viewthread_node_body.htm 找到了這段分類信息代碼,我把這段代碼移到的模板的頂端,可以實(shí)現(xiàn)了此功能,但是有個(gè)問題就是,所有回復(fù)的帖子也會(huì)顯示這個(gè)分類,但我這需要主題顯示即可。。這個(gè)不知如何解決?請(qǐng)高手指教下。。。
- <!--{if $threadsort && $threadsortshow}-->
- <!--{if $threadsortshow['typetemplate']}-->
- $threadsortshow[typetemplate]
- <!--{elseif $threadsortshow['optionlist']}-->
- <div class="typeoption">
- <!--{if $threadsortshow['optionlist'] == 'expire'}-->
- {lang has_expired}
- <!--{else}-->
- <table summary="{lang threadtype_option}" cellpadding="0" cellspacing="0" class="cgtl mbm">
- <caption>$_G[forum][threadsorts][types][$_G[forum_thread][sortid]]</caption>
- <tbody>
- <!--{loop $threadsortshow['optionlist'] $option}-->
- <!--{if $option['type'] != 'info'}-->
- <tr>
- <th>$option[title]:</th>
- <td><!--{if $option['value'] !== ''}-->$option[value] $option[unit]<!--{else}-->-<!--{/if}--></td>
- </tr>
- <!--{/if}-->
- <!--{/loop}-->
- </tbody>
- </table>
- <!--{/if}-->
- </div>
- <!--{/if}-->
- <!--{/if}-->
復(fù)制代碼
我知道答案
回答被采納將會(huì)獲得 1 貢獻(xiàn) 已有1人回答
|
|