后台文章排序怎么才可以按自己输入的数字排列?如按4,3,2,1,从大到小排列?
实现方法如下:
修改文件: phpcms\modules\content 中的 content.php
复制代码
代码如下:
$datas = $this->db->listinfo($where,'id desc',$_GET['page']);
改成
复制代码
代码如下:
$datas = $this->db->listinfo($where,'listorder ASC, id desc',$_GET['page']);
查看更多关于phpcms v9更改后台文章排序的方法的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did188530