Home  >  Article  >  CMS Tutorial  >  How to read the latest articles on dedecms artlist

How to read the latest articles on dedecms artlist

藏色散人
藏色散人Original
2019-12-23 10:49:191866browse

How to read the latest articles on dedecms artlist

dedecms artlist How to read the latest articles on the entire site?

Since dedecms is the most commonly used cms in China, now we introduce the two simplest and most basic usages of calling the artlist tag of the latest article

Recommended learning: 伟梦cms

Let’s first look at the calling method of dedecms home page template as follows

The code is as follows:

{dede:arclist row=6 } 
<li><a href="[field:arcurl/]">[field:title/]</a> 
</li> 
{/dede:arclist}

So if we need to call it on the list page or article page What to do with the latest articles on the entire site? After checking the manual, we can use

type='top' to achieve it.

Example

The code is as follows:

{dede:arclist row=10 typeid=&#39;top&#39;} 
<li><a href="[field:arcurl/]">[field:title/]</a> 
</li> 
{/dede:arclist}

If you want to call the file in the upper directory, just put typeid='you want to call the column id'

For example,

The code is as follows:

{dede:arclist row=6 typeid=&#39;5&#39;} 
<li><a href="[field:arcurl/]">[field:title/]</a> 
</li> 
{/dede:arclist}

Okay, it’s quite simple and I won’t explain much.

The above is the detailed content of How to read the latest articles on dedecms artlist. 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