Support jOOmla! Autoit!
让后台的:内容--所有内容项目以日期来排序 输出PDF 打印 E-mail
Author Author: Autoit | Date Date:2006-08-22 | View Count View: 12700 | Digg Count Digg: 55

让后台的:内容--所有内容项目以日期来排序

他默认是先按单元来拍的,可能用的不习惯,虽然后台也有最新文章模块。但按时间来找起也是有点别扭,那么就来hack一下吧:

/administrator/components/com_content/admin.content.php

149行左右:

  $order = "\n ORDER BY s.title, c.catid, cc.ordering, cc.title, c.ordering";

改为:

  //$order = "\n ORDER BY s.title, c.catid, cc.ordering, cc.title, c.ordering"; 
  $order = "\n ORDER BY c.created DESC";

保存,覆盖即可。


Permanent URL: http://www.autoit.cn/index.php/content/view/74/25.html

Shares: Google书签 Yahoo书签 雅虎收藏夹 365Key网摘 新浪ViVi 百度收藏 天极网摘 diglog 和讯网摘 POCO网摘 YouNote网摘 博拉网 天下图摘 spurl blogmarks BlinkList reddit digg Del.icio.us   |  Tags: 后台  排序  

 
去除后台页脚 1.0.11 里新增的安全及版本检查显示   修正akocomment第一评论页默认为11的问题