Home > CMS Tutorial > DEDECMS > body text

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

(*-*)浩
Release: 2019-11-26 16:47:29
Original
2889 people have browsed it

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'}
<a href=&#39;[field:arcurl/]&#39;>[field:title/]</a>
{/dede:arclistsg}
Copy after login

Parameter description:

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

Underlying template fields:

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

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template