标签 活度 下的文章

PHPCMS默认的搜索结果是越旧的文章排在越前面,缺少活度。在网上的解决办法把最新的文章排在前面,其实我觉得最相关的文章排在前面才是最合适的。修改的页面:\phpcms\modules\search\index.php搜索$data = $this->content_db->select($where, "*"); 最新文章排在前面,就把代码替换为$data = $this->content_db->select($where, "*","","id desc"); 最相- 阅读剩余部分 -