發(fā)表日期:2018-06 文章編輯:小燈 瀏覽次數(shù):3350
[@cms_channel_list]
欄目列表標(biāo)簽
作 用:顯示各欄目列表
參 數(shù):
parentId:存在時(shí),獲取該欄目的子欄目,不存在時(shí),獲取頂級(jí)欄目channel.parent.id
siteId:站點(diǎn)ID。存在時(shí),獲取該站點(diǎn)頂級(jí)欄目,不存在時(shí)獲取當(dāng)前站點(diǎn)頂級(jí)欄目。(僅在parentId不存在時(shí)起作用)
hasContent:是否只獲取可以有內(nèi)容的欄目?!?:獲取所有;1:只獲取可以有內(nèi)容的欄目】(默認(rèn)0)
linkClass:鏈接class
style:標(biāo)簽內(nèi)部樣式。如果指定sysContent或userContent,則該項(xiàng)無(wú)效?!?:普通鏈接列表;】(默認(rèn)1)
sysTpl:使用系統(tǒng)模板。【0:不使用;1:使用】(默認(rèn)1)
sysContent:系統(tǒng)內(nèi)容樣式。(默認(rèn)0)
userContent:自定義內(nèi)容樣式。如果指定了系統(tǒng)內(nèi)容樣式,則該項(xiàng)無(wú)效。(默認(rèn)0)
sysPage:系統(tǒng)分頁(yè)樣式?!?:不分頁(yè);1:樣式一;2:樣式二】(默認(rèn)0)
userPage:自定義分頁(yè)樣式。如果指定了系統(tǒng)分頁(yè)樣式,則該項(xiàng)無(wú)效?!?:不分頁(yè);1:樣式一;2:樣式二】(默認(rèn)0)
custom:字符串?dāng)?shù)組。用于個(gè)性化處理。(默認(rèn)空數(shù)組)
【備 注】:在代碼模式下編輯,各屬性值必須使用單引號(hào),屬性排列順序不分先后。
示例:
[@cms_channel_list tpl='1'/]
效果圖:
日期:2018-06 瀏覽次數(shù):3563
日期:2018-06 瀏覽次數(shù):3140
日期:2018-06 瀏覽次數(shù):3269
日期:2018-06 瀏覽次數(shù):3042
日期:2018-06 瀏覽次數(shù):3394
日期:2018-06 瀏覽次數(shù):3228
日期:2018-06 瀏覽次數(shù):3040
日期:2018-06 瀏覽次數(shù):3349
日期:2018-06 瀏覽次數(shù):3178
日期:2018-06 瀏覽次數(shù):3822
日期:2018-06 瀏覽次數(shù):2828
日期:2018-06 瀏覽次數(shù):2857
日期:2018-06 瀏覽次數(shù):3131
日期:2018-06 瀏覽次數(shù):2872
日期:2018-06 瀏覽次數(shù):2595
日期:2018-06 瀏覽次數(shù):2776
日期:2018-06 瀏覽次數(shù):3057
日期:2018-06 瀏覽次數(shù):2776
日期:2018-06 瀏覽次數(shù):2654
日期:2018-06 瀏覽次數(shù):2727
日期:2018-06 瀏覽次數(shù):2641
日期:2018-06 瀏覽次數(shù):2602
日期:2018-06 瀏覽次數(shù):2713
日期:2018-06 瀏覽次數(shù):2860
日期:2018-06 瀏覽次數(shù):2988
日期:2018-06 瀏覽次數(shù):2723
日期:2018-06 瀏覽次數(shù):2836
日期:2018-06 瀏覽次數(shù):2947
日期:2018-06 瀏覽次數(shù):2792
日期:2018-06 瀏覽次數(shù):2741
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.