织梦dedecms使用arclist
标签时如何让
文章按照权重排序?AB
模板王站长告诉您,其实很简单只要加入如下代码即可:
isweight='y' orderby='weight'
请看如下示例:
{dede:arclist titlelen='22' flag='h' noflag='a' isweight='y' orderby='weight'}
<li><a href="[field:arcurl/]" title="www.zuola.net">[field:title/]</a></li>
{/dede:arclist}