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='typename'/} {dede:sql sql='Select * from dede_arctype where reid=~id~ ORDER BY id limit 0,10'} href='[field:typedir function='str_replace("{cmspath}","",@me)'/]' target='_blank'>[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!