dedecms 說明文檔:http://www.dedecms.com/archives/templethelp/help/taghelp.htmthis
{dede:channel type='son' typeid='6' row='1000' currentstyle="<span><a href='~typelink~' class='thisclass'>~typename~</a> </span>"}
<span><a href='[field:typelink/]'>[field:typename/][field:ID/]</a> </span>
{/dede:channel}spa
這邊注意的是:type='son'表示子級目錄 ,而後用[field:ID/]調用就能夠調用出當前目錄下,子目錄的ID了。htm