|
|
如何讓分類信息內容一直顯示,意思就是訪客、設在購買主題的帖子 分類信息 內容依然顯示。
我在模板里 viewthread_node_body.htm 找到了這段分類信息代碼,我把這段代碼移到的模板的頂端,可以實現了此功能,但是有個問題就是,所有回復的帖子也會顯示這個分類,但我這需要主題顯示即可。。這個不知如何解決?請高手指教下。。。
- <!--{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}-->
復制代碼
我知道答案
回答被采納將會獲得 1 貢獻 已有1人回答
|
|