Home  >  Article  >  CMS Tutorial  >  Introduction to the independent single-table model list (arclistsg) of Dreamweaver CMS

Introduction to the independent single-table model list (arclistsg) of Dreamweaver CMS

(*-*)浩
(*-*)浩Original
2019-11-26 16:47:292746browse

Introduction to the independent single-table model list (arclistsg) of Dreamweaver CMS

Tag name: arclistsg

Function description: Single table independent model document list call tag

Scope of application: global use [Recommended learning: 梦Weavercms]

Basic syntax:

{dede:arclistsg  flag='h' typeid='' row='' col='' titlelen='' orderway='' keyword='' limit='0,1'}
[field:title/]
{/dede:arclistsg}

Parameter description:

col='' 分多少列显示(默认为单列),5.3版中本属性无效,要多列显示的可用div+css实现
row='10' 返回文档列表总数
typeid='' 栏目ID,在列表模板和档案模板中一般不需要指定,在封面模板中允许用","分开表示多个栏目;
titlelen = '30' 标题长度 等同于titlelength
orderwey='desc'或'asc' 排序方向
keyword= 含有指定关键字的文档列表,多个关键字用","分
innertext = "[field:title/]" 单条记录样式(innertext是放在标签之间的代码)
arcid='' 指定文档ID
idlist ='' 提取特定文档(文档ID)
channelid = '' 频道ID
limit='' 起始,结束 表示限定的记录范围(如:limit='1,2')
flag = 'h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b]
subday='天数' 表示在多少天以内的文档

Underlying template fields:

ID(同 id),typeid, channel, arcrank, mid, click, title, senddate, flag, litpic(同picname), userip, lastpost, scores, goodpost, badpost, textlink

The above is the detailed content of Introduction to the independent single-table model list (arclistsg) of Dreamweaver CMS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn