What is the document list tag in DedeCms tag
The document list tag in the DedeCms tag is the arclist tag.
1. Tag parameter list
The parameter list of this tag has many parameters, which shows that it is powerful and can be freely expanded. After learning it, it will be very useful.
2. Tag meaning and function
This tag is one of the most commonly used and important tags among all tags in the DedeCMS system. Its name is "Document List Tag", and the tag name is arclist. It is mainly used to call the system's documents and display them in the form of a list.
3. Scope of application of tags
The scope of application of the document list tag (arclist) in the DreamWeaver system is global use. To put it simply, it can be used globally; to put it more complicatedly, it can be used on any page in the foreground, such as home page, list, content page, etc.
Related recommendations: "dedecms usage tutorial"
However, it cannot be used in some miscellaneous function pages. This is due to the different template parsing mechanism of miscellaneous function pages. . You don't need to ask me why, you just need to remember it.
----Commonly used parameters
row Example of returning several records: row = '19'
typeid Example of setting the target column of the call: typeid='2, 5'
titlelen Example of setting the maximum number of characters displayed in the title: titlelen='34'
infolen Example of setting the maximum number of characters of the introduction: infolen='106'
flag limits custom document attributes. Example: flag='a,f'
noflag sets documents that do not contain the custom document attributes. Same as above and is the opposite.
orderby sets the sorting of documents. Fields
hot and click Sort by the number of document clicks
sortrank and pubdate Sort by document update time
id Sort by document ID
lastpost Sort by last Sort expressions
scores Sort by total document points
googpost Sort by positive reviews
badpost Sort by negative reviews
rand Sort by random
----Advanced parameters
channelid Example of setting content model: channelid='1'
addfields Example of setting and calling additional table fields: addfields='Field name 1, field Name 2'
----Other parameters
col Set the display in several columns
imgwidth Thumbnail width
imgheight Thumbnail height
listtype Set the type of the calling document
idlist Set the calling document ID list
aid Set the calling document ID
limit Set the calling start and End example: limit='2,5'
orderway Set the sorting method
asc Sort in forward order
desc Sort in reverse order (default)
Tag underlying template
In the DedeCMS system, the underlying template is obtained by [field:field name/]. In the arclist tag, the value range of the field name is All fields of the main table and additional tables.
But I hope everyone will pay attention to the fact that additional table fields cannot be obtained directly and need to be implemented with advanced parameters. See the above parameter list for details.
Tag calling example
Calling the 10 latest updated documents of the entire site
{dede:arclist row='10'} [field:title/] {/dede:arclist}
Calling the 15 recommended articles with column ID 2
{dede:arclist row='15' typeid='2' flag='c'} [field:title/] {/dede:arclist}
Randomly called 15 software documents from the entire site
{dede:arclist row='15' orderby='rand' channelid='3'} [field:title/] {/dede:arclist}
The above is the detailed content of What is the document list tag in DedeCms tag. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



This tutorial shows you how to find specific text or phrases on all open tabs in Chrome or Edge on Windows. Is there a way to do a text search on all open tabs in Chrome? Yes, you can use a free external web extension in Chrome to perform text searches on all open tabs without having to switch tabs manually. Some extensions like TabSearch and Ctrl-FPlus can help you achieve this easily. How to search text across all tabs in Google Chrome? Ctrl-FPlus is a free extension that makes it easy for users to search for a specific word, phrase or text across all tabs of their browser window. This expansion

As a popular short video social platform, Douyin has a huge user base. For Douyin creators, using tags to attract traffic is an effective way to increase the exposure of content and attract attention. So, how does Douyin use tags to attract traffic? This article will answer this question in detail for you and introduce related techniques. 1. How to add tags on Douyin to attract traffic? When posting a video, make sure to choose tags that are relevant to the content. These tags should cover the topic and keywords of your video to make it easier for users to find your video through tags. Leveraging popular hashtags is an effective way to increase your video’s exposure. Research current popular tags and trends and incorporate them into your video descriptions and tags. These popular tags usually have higher visibility and can attract the attention of more viewers. 3. Label

When browsing Douyin works, we often see a clock icon behind the tag. So, what exactly is this clock? This article will focus on the discussion of "What is the clock behind the Douyin label", hoping to provide some useful reference for your use of Douyin. 1. What is the clock behind the Douyin label? Douyin will launch some hot topic challenges. When users participate, they will see a clock icon after the tag, which means that the work is participating in the topic challenge and displays the remaining time of the challenge. For some time-sensitive content, such as holidays, special events, etc., Douyin will attach a clock icon after the label to remind users of the validity period of the content. 3. Popular tags: When a tag becomes popular, Douyin will add a clock icon after the tag to indicate that the tag is

Detailed explanation of the video tag in HTML The video tag in HTML5 is a tag used to play videos on web pages. It can render videos using different formats, such as MP4, WebM, Ogg, and more. In this article, we will introduce the use of video tag in detail and provide specific code examples. Basic Structure The following is the basic structure of the video tag:

How to delete external contact tags on DingTalk app? DingTalk has a function to delete external contact tags, but most friends don’t know how to delete external contact tags on DingTalk. Next is the DingTalk guide that the editor brings to users. Graphical tutorial on how to delete external contact tags in the Ding app. Interested users can come and take a look! How to delete external contact tags in DingTalk app 1. First open DingTalk APP and click the [Management] function as shown below on the main page; 2. Then enter the enterprise management interface and find [External Contacts]; 3. Then on the external contact setting function page, select the [Label Management] service; 4. Then on the main contact label page, select the type of label group you want to delete; 5. Finally, click on the red label group

Empire CMS template download location: Official template download: https://www.phome.net/template/ Third-party template website: https://www.dedecms.com/diy/https://www.0978.com.cn /https://www.jiaocheng.com/Installation method: Download template Unzip template Upload template Select template

Template replacement can be implemented in Dedecms through the following steps: modify the global.cfg file and set the required language pack. Modify the taglib.inc.php hook file and add support for language suffix template files. Create a new template file with a language suffix and modify the required content. Clear Dedecms cache.

How to upload local videos using Dedecms? Prepare the video file in a format that is supported by Dedecms. Log in to the Dedecms management backend and create a new video category. Upload video files on the video management page, fill in the relevant information and select the video category. To embed a video while editing an article, enter the file name of the uploaded video and adjust its dimensions.
