Home  >  Article  >  CMS Tutorial  >  What in the dedecms tag represents a list tag

What in the dedecms tag represents a list tag

藏色散人
藏色散人Original
2019-07-30 11:08:161896browse

What in the dedecms tag represents a list tag

What in the dedecms tag represents a list tag?

list in the dedecms tag represents a list tag:

Tag name: list

Function description: Represents a list Paginated content list in template

Applicable scope: only list template list_*.htm

Basic syntax:

{dede:list col='' titlelen='' infolen='' imgwidth='' imgheight='' listtype='' orderby='' pagesize='' orderway=''}{/dede:list}

Parameter description:

col=' 'Number of content columns

titlelen='' Title length

infolen='' Content summary length

imgwidth='' Thumbnail width

imgheight= '' Thumbnail height

orderby='' Sorting method, valid sorting methods are senddate, pubdate, id, click, lastpost, postnum, the default is sortrank

pagesize='20' paging Size

Underlying template fields:

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"格式)

Note: In addition to supporting the basic template variables of the archive table, the list tag also supports fields of additional tables. You can know the additional table support list in the model management What fields are used.

For more dedecms technical articles, please visit the dedecms usage tutorial column!

The above is the detailed content of What in the dedecms tag represents a list tag. 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