Support jOOmla! Autoit!
MarketPlace组件顶部最新5条信息图片的改动 输出PDF 打印 E-mail
Author Author: Autoit | Date Date:2009-02-13 | View Count View: 8491 | Digg Count Digg: 16

默认是显示所有分类里的最近5条.

更改目的, 进入到某一分类后,顶部只显示当前分类的 最近5条:

组件 recent5.php 49空白行的位置加入:

if ($catid) $wherecatid = "AND a.category = ".$catid;

然后在下面53行的:

AND a.category = b.id AND a.ad_image > '0'" 

替换为:

AND a.category = b.id AND a.ad_image > '0'" . $wherecatid 

就可以了.


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

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

 
Simple Image Gallery PRO 1.2 显示模式参数实效的问题