{dede:list pagesize='12' orderby='weight' orderway='desc'}
修改include目錄下的arc.listview.class.php
查找else if($orderby=="lastpost") { $ordersql = " ORDER BY arc.lastpost $orderWay";}
在下面補充
else if($orderby=="weight") { $ordersql = " order by arc.weight $orderWay"; }
查找if(preg_match('/hot|click|lastpost/', $orderby))
改爲:
if(preg_match('/hot|click|weight|lastpost/', $orderby))