Home > CMS Tutorial > DEDECMS > body text

What in the dedecms tag represents a list tag

藏色散人
Release: 2019-08-01 16:33:38
Original
1966 people have browsed it

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}
Copy after login

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

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!