标识名字: list 作用表明: 表明目录模版里的分页查询內容目录 可用范畴: 仅目录模版 list_*.htm 基本英语的语法: {dede:list col= titlelen= infolen= imgwidth= imgheight= listtype= orderby= pagesize= o
标识名字: list 作用表明: 表明目录模版里的分页查询內容目录 可用范畴: 仅目录模版 list_*.htm 基本英语的语法: {dede:list col= titlelen= infolen= imgwidth= imgheight= listtype= orderby= pagesize= orderway=}{/dede:list} 主要参数表明: col= 內容列数 titlel...
标识名字: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(ame),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标识除开适用档案资料表的基本模版自变量外,还适用额外表的字段名,你可以以在实体模型管理方法中了解额外表适用目录应用的字段名有什么。
应用案例:
这一标识是系统软件常见标识,一般用以显示信息目录內容,大家能够在系统软件的list_*.htm这种模版文档看出到这一标识,大家以list_article.htm为例子:
{dede:list pagesize= 10 }
li
[field:array runphp= yes ]@me = (empty(@me[ litpic ]) ? : a href= {@me[ arcurl ]} >
a href= [field:arcurl/] >
span >
small 时间: /small [field:pubdate function= GetDateTimeMK(@me) /]
small 点一下: /small [field:click/]
small 五星好评: /small [field:scores/]
/span
[field:description/]...
/p
/li
{/dede:list}
dedecms模版,dedecms公司模版,dedecms新闻资讯模版,高档HTML5响应式模版,dedecms手机上模版,织梦cms模版实例教程,网站模版,网页页面模版,完全免费网页页面模版