织梦菜单导航调用特定栏目的修改
正常:
{dede:channel type='top' row='10' currentstyle="<li class='hover'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"}
<a href='[field:typeurl/]' target="_blank">[field:typename/]</a>
{/dede:channel}
变成:
{dede:channelartlist typeid="2,5,7,8,26,6,10" row='8' currentstyle="<li class='hover'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"}
<a href="{dede:field name="typeurl"/}" target="_blank">{dede:field name="typename"/}</a>
{/dede:channelartlist}