织梦模板dedecms二级和三级栏目调用方法教程
本文实例讲述了织梦dedecms二级和三级栏目调用方法。
{dede:channelartlist typeid=8 row=10 } <div class="tea-cate-con"> <h3>{dede:field name='typename'/}</h3> <p> {dede:sql sql='Select * from dede_arctype where reid=~id~ ORDER BY id limit 0,10'} <a target="_blank" href="[field:typedir function='str_replace("{cmspath}","",@me)'/]">[field:typename/]</a> {/dede:sql} </p> </div> {/dede:channelartlist} |