本主题地址:http://bbs.laoer.com/main-read-17-ff8080811b48b90c011c5033847015e0.html
[楼主] 主题:请问laoer 如何修改 版主推荐 显示数量改为20条在首页显示
ok_sjb(ok_sjb)
[置顶] [锁定] [推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:5
精华:0
积分:14
等级:初出江湖
社区币:100
来自:上海市
注册:2008-02-26
最后登录:09-11 17:20
 
因为我把论坛首页的最新文章改成了20条记录,

但一时找不到在哪把版主推荐也改成20条记录显示

请告诉一下在哪个文件里修改啊.

急用啊
 
2008-09-11 14:57:45
[1楼] 主题:Re:请问laoer 如何修改 版主推荐 显示数量改为20条在首页显示
ok_sjb(ok_sjb)
[推荐] [保留] [精华] 支持 :0 反对 :0 IP
Face

发帖:5
精华:0
积分:14
等级:初出江湖
社区币:100
来自:上海市
注册:2008-02-26
最后登录:09-11 17:20
 
public BoardCountTimerTask() {
}

/**
* When an object implementing interface <code>Runnable</code> is used to create a thread, starting the
* thread causes the object's <code>run</code> method to be called in that separately executing thread.
*
* @todo Implement this java.lang.Runnable method
*/
public void run() {
try {
logger.info("Board count start...");
this.getBoardService().saveBoardsPostNumCount();
this.getCommendService().createCommendTopFile(20);
logger.info("Board count end");
}
catch (BbscsException ex) {
logger.error(ex);
}
}

是改
this.getCommendService().createCommendTopFile(20);
这个吗
 
2008-09-11 17:21:56
[分页: 1] [只看楼主] [返回]
快速回复
文章标题
文章内容
·用户请确认您发表的言论符合《互联网电子公告服务管理规定》《全国人大常委会关于维护互联网安全的规定》规定,并符合本论坛的主旨。
·本社区用户不得在本社区发表包含破坏宪法和法律、破坏民族团结、捏造或者歪曲事实、宣扬封建迷信、淫秽、色情,及其他违反宪法和法律行政法规的言论。
·本社区用户因为违反本社区规定而触犯中华人民共和国法律的,责任自负。
社区搜索
推荐主题