|
dedecms织梦三级导航栏目如何调用
指定ID类型
{dede:channelartlist typeid='1' row='50'}
{dede:field name='typename'/}
{dede:sql sql='Select * from dede_arctype where reid=~id~'}
[url=,[field:typename/][/url]
{/dede:sql}
{/dede:channelartlist}
不指定ID 常用于导航栏
{dede:channelartlist typeid='top' }
[*,
[i,[/i,{dede:field name='typename'/}[i,[/i,
{dede:sql sql='Select * from `dede_arctype` where reid=~id~ ORDER BY id'}
[*,[url=,[field:typename/][/url]
{/dede:sql}
{/dede:channelartlist}
|
|