聯(lián)系官方銷售客服
1835022288
028-61286886
模板文件標(biāo)簽template引用文件目錄結(jié)構(gòu)錯(cuò)誤有限制
發(fā)現(xiàn)一個(gè)循環(huán)內(nèi)調(diào)用,超過(guò)一定數(shù)量會(huì)提示:模板文件標(biāo)簽template引用文件目錄結(jié)構(gòu)錯(cuò)誤有限制,咨詢了技術(shù)后,自己想到的解決方法:
1、將template內(nèi)容拷貝到循環(huán)中
2、添加多一個(gè)模板,比如content.html content1.html
{module module=news catid=1 num=23}{template "content.html"}{/module}
{module module=news catid=1 num=23}{template "content1.html"}{/module}
官方提醒:使用module內(nèi)容循環(huán)標(biāo)簽的生成工具,填寫參數(shù)就可以生成相關(guān)的代碼,每個(gè)參數(shù)后面都有用法解釋