發(fā)布時(shí)間:2019-07-09
欄目:其他
標(biāo)簽名: 文章列表調(diào)用標(biāo)簽
{$articlelist(templateid,channelid,catid,child,specialid,page,articlenum,titlelen,descriptionlen,iselite,datenum,ordertype,datetype,showcatname,showauthor,showhits,target,cols)}
作 用:顯示文章列表
調(diào)用例舉:首頁最新文章列表 {$articlelist(0,1,0,1,0,0,10,46,0,0,0,1,2,0,0,0,1,1)}
參 數(shù)
序號(hào)參數(shù) -- 說明
1templateid -- 此標(biāo)簽調(diào)用的模板id
2channelid -- 調(diào)用文章所屬頻道id,如果多個(gè)頻道共用同一個(gè)模板相結合,則請(qǐng)使用變量$channelid作為參數(shù)
3catid -- 調(diào)用文章所屬欄目ID高效化,多個(gè)ID之前用半角逗號(hào)隔開,0表示不限欄目某些情況下可使用變量$catid作為參數(shù)
4child -- 調(diào)用文章所屬子欄目ID
5specialid -- 調(diào)用文章所屬專題ID為產業發展,多個(gè)ID之前用半角逗號(hào)隔開範圍和領域,0表示不限專題某些情況下可使用變量$specialid作為參數(shù)
6page -- 是否分頁顯示 0為 否, 1為 是
7articlenum -- 每頁文章數(shù)
8titlelen -- 文章標(biāo)題最大字符數(shù)
9descriptionlen -- 內(nèi)容摘要最大字符數(shù)
10iselite -- 是否為推薦文章 0為 否高效利用, 1為 是
11datenum -- 多少天以內(nèi)的文章
12
ordertype --文章排序方式 1為 按文章ID降序
2為 按文章ID升序
3為 按更新時(shí)間降序
4為 按更新時(shí)間升序
5為 按點(diǎn)擊數(shù)降序
6為 按點(diǎn)擊數(shù)升序
13
datetype -- 時(shí)間顯示格式 0為 不顯示
1為 2006-06-26
2為 06-26
3為 2006/06/26
4為 2006.06.26
14showcatname -- 是否在文章標(biāo)題前顯示欄目名稱特征更加明顯,0為 否, 1為 是
15showauthor -- 是否在標(biāo)題后面顯示作者講理論,0為 否數字技術, 1為 是
16showhits -- 是否在標(biāo)題后面顯示瀏覽次數(shù),0為 否市場開拓, 1為 是
17target -- 是否在新窗口打開鏈接 0為 否措施, 1為 是
18
cols --顯示文章標(biāo)題列數(shù) 1為 1列
2為 2列
3為 3列
4為 4列
5為 5列
6為 6列
7為 7列
8為 8列
9為 9列
10為 10列
標(biāo)簽名: 圖片文章調(diào)用
PHPCMS批量添加欄目 {$picarticle(templateid,channelid,catid,child,specialid,page,articlenum,titlelen,descriptionlen,iselite,datenum,ordertype,showtype,showalt,imgwidth,imgheight,cols)}
作 用:顯示圖片文章
調(diào)用例舉:欄目首頁 圖片文章列表 {$picarticle(0,$channelid,$catid,1,0,0,5,16,0,0,0,1,1,1PHPCMS批量刪除關(guān)鍵詞 ,128,96,5)}
參 數(shù)
PHPCMS批量助手 序號(hào)參數(shù) -- 說明
1templateid -- 此標(biāo)簽調(diào)用的模板id
PHPCMS批量添加產(chǎn)品2channelid -- 調(diào)用文章所屬頻道id,如果多個(gè)頻道共用同一個(gè)模板要落實好,則請(qǐng)使用變量$channelid作為參數(shù)
3catid -- 調(diào)用文章所屬欄目ID緊密相關,多個(gè)ID之前用半角逗號(hào)隔開,0表示不限欄目某些情況下可使用變量$catid作為參數(shù)
4child -- 調(diào)用文章所屬子欄目ID
5specialid -- 調(diào)用文章所屬專題ID先進技術,多個(gè)ID之前用半角逗號(hào)隔開培訓,0表示不限專題某些情況下可使用變量$specialid作為參數(shù)
6page -- 是否分頁顯示 0為 否, 1為 是
7articlenum -- 每頁文章數(shù)
8titlelen -- 文章標(biāo)題最大字符數(shù)
9descriptionlen -- 內(nèi)容摘要最大字符數(shù)
10iselite -- 是否為推薦文章 0為 否宣講手段, 1為 是
11datenum -- 多少天以內(nèi)的文章重要工具,0為不限制天數(shù)
12
ordertype -- 文章排序方式 1為 按文章ID降序
2為 按文章ID升序
3為 按更新時(shí)間降序
4為 按更新時(shí)間升序
5為 按點(diǎn)擊數(shù)降序
6為 按點(diǎn)擊數(shù)升序
13
showtype -- 顯示方式 1為 圖片+標(biāo)題+內(nèi)容簡介:上下排列
2為 (圖片+標(biāo)題:上下排列)+內(nèi)容簡介:左右排列
3為 圖片+(標(biāo)題+內(nèi)容簡介:上下排列):左右排列
14showalt -- 是否顯示作者、更新時(shí)間配套設備、點(diǎn)擊數(shù)等提示信息更優質,0為 否, 1為 是
15imgwidth -- 圖片寬度
16imgheight -- 圖片高度
17
cols --顯示文章標(biāo)題列數(shù) 1為 1列
2為 2列
3為 3列
4為 4列
5為 5列
6為 6列
7為 7列
8為 8列
9為 9列
10為 10列
文章地址:http://www.61py.com/article/other/phpcmswzpdbqsm.html