Home > CMS Tutorial > DEDECMS > body text

How to call dedecms third-level column

藏色散人
Release: 2019-12-12 10:18:35
Original
2241 people have browsed it

How to call dedecms third-level column

How to call the third-level column of dedecms?

This article mainly introduces the dedecms third-level column calling method, which involves the use of channelartlist tags and SQL statements. It is a very practical skill. Friends who need it can refer to it

Recommended learning: 梦Weavercms

The specific implementation code is as follows:

The code is as follows:

{dede:channelartlist typeid=4 row=10 } </p> <p> {dede:field name=&#39;typename&#39;/} 
{dede:sql sql=&#39;Select * from dede_arctype where reid=~id~ ORDER BY id limit 0,10&#39;} 
href=&#39;[field:typedir function=&#39;str_replace("{cmspath}","",@me)&#39;/]&#39; target=&#39;_blank&#39;>[field:typename/] 
{/dede:sql} 
</p> <p>{/dede:channelartlist}
Copy after login

The above is the detailed content of How to call dedecms third-level column. 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