织梦模板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=http://www.dede58.com/"[field:typedir function='str_replace("{cmspath}","",@me)'/]">[field:typename/]</a> {/dede:sql} </p> </div> {/dede:channelartlist}  

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/20ac7a3d7584bde866f2c79ab0d7d26d.html