迅睿CMS框架是一款PHP8高性能·簡(jiǎn)單易用的CMS開(kāi)源開(kāi)發(fā)框架,基于MIT開(kāi)源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開(kāi)源的產(chǎn)品,以萬(wàn)端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
不想讓它在首頁(yè)的導(dǎo)航中顯示,然后隱藏掉了,但是我想調(diào)用它的內(nèi)容,如何實(shí)現(xiàn)。因?yàn)殡[藏掉了,無(wú)法共享在其他子目錄中使用
不想讓【它】在首頁(yè)的導(dǎo)航中顯示
【它】是指欄目嗎??
回復(fù)@迅睿框架聯(lián)合創(chuàng)始人 是的,已隱藏,但是想調(diào)用它里面的內(nèi)容。
{category module=share pid=24 return=r1}
{if $cat.name==$r1.name}
{module module=yltd catid=$r1.id order=displayorder_asc num=1}
<div id="zzsc">
<div class="tit_com" style="position: relative;">
{category module=share pid=24}
{if $cat.name==$t.name}
{category module=share id=$t.pid return=c1}
<div class="h2">{$c1.name}</div>
{/category}
<div class="more_com" style="position: absolute;right: 0;bottom: 0;"><a href="{$t.url}" target="_blank">查看更多</a></div>
{/if}
就是想這里寫(xiě)入隱藏的那一頁(yè)也被這里調(diào)用讀取
隱藏了是不能顯示在category標(biāo)簽循環(huán)中的了,你可以加一個(gè)強(qiáng)制顯示開(kāi)關(guān)
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 好的。非常感謝。弱弱再問(wèn)一下,
{category module=share pid=24 show=1} 加在這里對(duì)嗎?
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 全加后顯示這個(gè)
不想讓【它】在首頁(yè)的導(dǎo)航中顯示
【它】是指欄目嗎??
回復(fù)@迅睿框架聯(lián)合創(chuàng)始人 是的,已隱藏,但是想調(diào)用它里面的內(nèi)容。
{category module=share pid=24 return=r1}
{if $cat.name==$r1.name}
{module module=yltd catid=$r1.id order=displayorder_asc num=1}
<div id="zzsc">
<div class="tit_com" style="position: relative;">
{category module=share pid=24}
{if $cat.name==$t.name}
{category module=share id=$t.pid return=c1}
<div class="h2">{$c1.name}</div>
{/category}
<div class="more_com" style="position: absolute;right: 0;bottom: 0;"><a href="{$t.url}" target="_blank">查看更多</a></div>
{/if}
{/category}
就是想這里寫(xiě)入隱藏的那一頁(yè)也被這里調(diào)用讀取
隱藏了是不能顯示在category標(biāo)簽循環(huán)中的了,你可以加一個(gè)強(qiáng)制顯示開(kāi)關(guān)
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 好的。非常感謝。弱弱再問(wèn)一下,
{category module=share pid=24 return=r1}
{if $cat.name==$r1.name}
{module module=yltd catid=$r1.id order=displayorder_asc num=1}
<div id="zzsc">
<div class="tit_com" style="position: relative;">
{category module=share pid=24 show=1} 加在這里對(duì)嗎?
{if $cat.name==$t.name}
{category module=share id=$t.pid return=c1}
<div class="h2">{$c1.name}</div>
{/category}
<div class="more_com" style="position: absolute;right: 0;bottom: 0;"><a href="{$t.url}" target="_blank">查看更多</a></div>
{/if}
{/category}
回復(fù)@迅??蚣苈?lián)合創(chuàng)始人 全加后顯示

這個(gè)