396
織夢DedeCMS
list,列表標簽_織夢CMS幫助中心
標簽名稱:list
功能說明:表示列表模板裏的分頁內容列表
適用範圍:僅列表模板 list_*.htm
基本語法:
{dede:list col='' titlelen='' infolen='' imgwidth='' imgheight='' listtype='' orderby='' pagesize='' orderway=''}{/dede:list}
參數說明:
col='' 內容列數
titlelen='' 標題長度
infolen='' 內容摘要長度
imgwidth='' 縮略圖寬
imgheight='' 縮略圖高
orderby='' 排序方式,有效的排序方式有 senddate、pubdate、id、click、lastpost、postnum ,默認為 sortrank
pagesize='20' 分頁大小
底層模板字段:
ID(同 id),typeid,sortrank,flag,ismake,channel,arcrank,click,money,title,shorttitle,color,writer,
source,litpic(同picname),pubdate,senddate,mid, lastpost,scores,goodpost,badpost,notpost,
description(同infos),filename, image, imglink, fulltitle, textlink, typelink,plusurl, memberurl, templeturl,
stime(pubdate 的"0000-00-00"格式)
注:list標記除了支持檔案表的基本模板變量外,還支持附加表的字段,你可以在模型管理中知道附加表支持列表使用的字段有哪些。
最後更新:2016-12-29 14:26:07