织梦CMS按栏目调用tag标签的办法

-->文章介绍
织梦CMS按栏目调用tag标签的办法:
{dede:sql sql="select * from dede_archives a left join dede_taglist t on a.id=t.aid where a.typeid='22' limit 4"}
<a href='/tags.php?[field:tag/]' target="_blank" title="[field:tag /]">[field:tag /]</a>
{/dede:sql}