dedecms织梦三级导航栏目如何调用
指定ID类型
{dede:channelartlist typeid=‘1’ row=‘50’}
{dede:field name=‘typename’/}
{dede:sql sql='Select * from dede_arctype where reid=~id~'}
<a href="[field:typedir function=‘str_replace("{cmspath}","",@me)’/]">[field:typename/]
{/dede:sql}
{/dede:channelartlist}
不指定ID 常用于导航栏
- {dede:channelartlist typeid='top' }
-
{dede:field name='typename'/}