迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
模板標(biāo)簽里面
請(qǐng)問下,我想獲取內(nèi)容關(guān)聯(lián)里面的內(nèi)容,這個(gè)好像只有系統(tǒng)字段才可以獲取是嗎?
我新建編輯器字段是主表 也無法獲取。主要想獲取內(nèi)容進(jìn)行內(nèi)容組合!
有別的方法可以做到嗎?謝謝
是怎么獲取的?沒看明白
{module module=news IN_id=$zuhe return=r}
<p><a href="{$r.url}" target="_self">{$r.title}</a></p>
<p>{$t.content}</p>
</p>
{/module}
這樣我就可以我選擇的ABC三個(gè)文章,組合成一篇新的文章
回復(fù)迅??蚣軇?chuàng)始人
content是附表字段,不能出現(xiàn)在循環(huán)中,官方這么說的,附表只能在內(nèi)容頁中顯示
是的 這個(gè)我知道 謝謝
回復(fù)@洪武元年
{module module=news IN_id=$zuhe return=r2}
{module module=news id=$r2.id return=r}
<p><a target="_blank" href="{$r.url}" target="_self">{$r.title}</a></p>
套兩次查詢就可以了,只是效率低,查詢速度慢
求求您了,我的授權(quán)就靠你了,出點(diǎn)賞金吧大哥。。
試了沒用
回復(fù)@靠懸賞(設(shè)置懸賞)賺錢買授權(quán)
{module module=news id=$r2.id return=r}改成{content module=news id=$r2.id return=r}
應(yīng)該第二層是content標(biāo)簽才能調(diào)用內(nèi)容字段吧
是怎么獲取的?沒看明白
{module module=news IN_id=$zuhe return=r}
<p><a href="{$r.url}" target="_self">{$r.title}</a></p>
<p>{$t.content}</p>
</p>
{/module}
這樣我就可以我選擇的ABC三個(gè)文章,組合成一篇新的文章
回復(fù)迅??蚣軇?chuàng)始人
{module module=news IN_id=$zuhe return=r}
<p><a href="{$r.url}" target="_self">{$r.title}</a></p>
<p>{$t.content}</p>
</p>
{/module}
這樣我就可以我選擇的ABC三個(gè)文章,組合成一篇新的文章
content是附表字段,不能出現(xiàn)在循環(huán)中,官方這么說的,附表只能在內(nèi)容頁中顯示
是的 這個(gè)我知道 謝謝
回復(fù)@洪武元年
{module module=news IN_id=$zuhe return=r2}
{module module=news id=$r2.id return=r}
<p><a target="_blank" href="{$r.url}" target="_self">{$r.title}</a></p>
<p>{$t.content}</p>
</p>
{/module}
{/module}
套兩次查詢就可以了,只是效率低,查詢速度慢
求求您了,我的授權(quán)就靠你了,出點(diǎn)賞金吧大哥。。
試了沒用
回復(fù)@靠懸賞(設(shè)置懸賞)賺錢買授權(quán)
{module module=news id=$r2.id return=r}改成{content module=news id=$r2.id return=r}
求求您了,我的授權(quán)就靠你了,出點(diǎn)賞金吧大哥。。
應(yīng)該第二層是content標(biāo)簽才能調(diào)用內(nèi)容字段吧