迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費且不限制商業(yè)使用,是免費開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計理念,支持的微信公眾號、小程序、APP客戶端、移動端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
{list module=news catid=2 and uid=38 order=inputtime num=1}<a href="{$t.url}" target="_blank" title="{$t.title}">{dr_strcut($t.title, 38)}</a>{/list}
列表顯示,需要兩個條件 catid=2 and uid=38 可是這樣的寫,不顯示數(shù)據(jù)哦。
{list module=news catid=2 uid=38 order=inputtime num=1}
回復(fù)@迅睿框架技術(shù)-吳金輝 去掉 and也不行
不要and就可以了
{list module=news catid=2 uid=38 order=inputtime num=1} <a target="_blank" href="{$t.url}" target="_blank" title="{$t.title}">{dr_strcut($t.title, 38)}</a> {/list} {$debug}
我就不信這個邪,debug見分曉
{module module=news catid=3 uid=38 order=inputtime num=1}<a href="{$t.url}" target="_blank" title="{$t.title}">{dr_strcut($t.title, 38)}</a>{/module}
改成這個可以了
語法沒看出什么問題來
我開始也是沒有用AND 不行,加上AND也不行。
憑我開發(fā)幾年迅睿模板,沒看出你這個語法有錯誤啊,完全對的語法啊
回復(fù)@易學(xué)習(xí)
所以我也納悶?zāi)兀歉某?span style="color: rgb(51, 51, 51); font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);">{/module}就可以了
{list module=news catid=2 uid=38 order=inputtime num=1}
回復(fù)@迅睿框架技術(shù)-吳金輝 去掉 and也不行
不要and就可以了
我就不信這個邪,debug見分曉
{module module=news catid=3 uid=38 order=inputtime num=1}<a href="{$t.url}" target="_blank" title="{$t.title}">{dr_strcut($t.title, 38)}</a>{/module}
改成這個可以了
語法沒看出什么問題來
我開始也是沒有用AND 不行,加上AND也不行。
憑我開發(fā)幾年迅睿模板,沒看出你這個語法有錯誤啊,完全對的語法啊
回復(fù)@易學(xué)習(xí)
所以我也納悶?zāi)兀歉某?span style="color: rgb(51, 51, 51); font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; background-color: rgb(255, 255, 255);">{/module}就可以了