Dede article list

Source: Internet
Author: User

文章列表标签的使用:{dede:arclist  flag=‘h‘ typeid=‘‘ row=‘‘ col=‘‘ titlelen=‘‘ infolen=‘‘ imgwidth=‘‘ imgheight=‘‘ listtype=‘‘ orderby=‘‘ keyword=‘‘ limit=‘0,1‘}      <a href=‘[field:arcurl/]‘>[field:title/]</a>{/dede:arclist}col=‘‘ 分多少列显示(默认为单列)row=‘10‘ 返回文档列表总数typeid=‘‘ 栏目ID,在列表模板和档案模板中一般不需要指定,在封面模板中允许用","分开表示多个栏目;titlelen = ‘30‘ 标题长度 等同于titlelengthinfolen=‘160‘ 表示内容简介长度 等同于infolengthimgwidth=‘120‘ 缩略图宽度imgheight=‘90‘ 缩略图高度listtype=‘all‘ 栏目类型(顶级栏目??)orderby=‘sortrank‘ 文档排序方式§ orderby=‘hot‘ 或 orderby=‘click‘ 表示按点击数排列§ orderby=‘sortrank‘ 或 orderby=‘pubdate‘ 按出版时间排列§ orderby=‘near‘§ orderby==‘lastpost‘ 按最后评论时间§ orderby==‘scores‘ 按得分排序§ orderby=‘id‘ 按文章ID排序§ orderby=‘rand‘ 随机获得指定条件的文档列表keyword=‘‘ 含有指定关键字的文档列表,多个关键字用","分innertext = ‘‘ 单条记录样式aid=‘‘ 指定文档IDidlist =‘‘ 提取特定文档(文档ID)channelid 频道IDlimit=‘‘ 起始,结束 表示限定的记录范围(如:limit=‘1,2‘)flag = ‘h‘ 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b]noflag = ‘‘ 同flag,但这里是表示不包含这些属性orderway=‘desc‘ 值为 desc 或 asc ,指定排序方式是降序还是顺向排序,默认为降序subday=‘天数‘ 表示在多少天以内的文档

Dede article list

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.