{dede:field...}" and save it."/>

{dede:field...}" and save it.">

Home  >  Article  >  CMS Tutorial  >  How to call dedecms third-level column

How to call dedecms third-level column

藏色散人
藏色散人Original
2019-12-12 10:18:352199browse

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}

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!

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