新建了一個(gè)字段,發(fā)布內(nèi)容的時(shí)候這個(gè)字段的內(nèi)容是:<a href="http://www.baidu.com"><span style="color:red;">新聞測(cè)試標(biāo)題1</span>,新聞測(cè)試</a> 但是前臺(tái)調(diào)用出來(lái)的效果不是自己想要的那種效果,這些代碼以字符的形式調(diào)用出來(lái)了



{module module=news flag=9 field=title,url,inputtime,description,fubiaoti,biaotidaima order=inputtime,displayorder num=15 site=1}
<li>
{if !empty($t.biaotidaima)}
{$t.biaotidaima}
{/if}
{if empty($t.biaotidaima)}
<a href="{$t.url}" target="_blank">{$t.fubiaoti}</a>
{/if}
</li>
{/module}官方提醒:使用module內(nèi)容循環(huán)標(biāo)簽的生成工具,填寫(xiě)參數(shù)就可以生成相關(guān)的代碼,每個(gè)參數(shù)后面都有用法解釋
{html_entity_decode($t.biaotidaima)}需要html實(shí)體化轉(zhuǎn)換一下
開(kāi)源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問(wèn)題!