织梦菜单导航调用特定栏目

 

织梦菜单导航调用特定栏目的修改

正常:

{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}

posted on 2014-06-16 12:54  探灵档案  阅读(362)  评论(0编辑  收藏  举报

导航