ASPCMS將推薦和置頂排在列表的前面的方法如下:打開(kāi)inc/AspCms_MainClass.asp文件 有2處需要修改。
case "id" : orderStr =" order by ContentID desc"
改成
case "id" : orderStr =" order by IsTop desc,ContentID desc"
----------------------------------------
如果你需要置頂>推薦>正常排序
可以改成這樣:
case "id" : orderStr =" order by IsTop desc,isrecommend desc,ContentID desc"