Support jOOmla! Autoit!
 
Simple Image Gallery PRO 1.2 显示模式参数实效的问题 输出PDF 打印 E-mail
Author Author: Autoit | Date Date:2008-10-13 | View Count View: 10772 | Digg Count Digg: 16

{gallery}folder_path:thumbs_width:thumbs_height:display_mode{/gallery}里定义 display mode为0或1后,默认还是取决全局的显示设置。

/mambots/content/plugin_jw_sigpro.php, ≈80 line

 if($_params[1]) $_width_final_ = $_params[1]; else $_width_final_ = $_width_;
 if($_params[2]) $_height_final_ = $_params[2]; else $_height_final_ = $_height_;
 if($_params[3]) $_howmanythumbs_ = $_params[3]; else $_howmanythumbs_ = $singlethumb;

替换为

if(@$_params[1]) $_width_final_ = $_params[1]; else $_width_final_ = $_width_;
if(@$_params[2]) $_height_final_ = $_params[2]; else $_height_final_ = $_height_;
if(isset($_params[3])) $_howmanythumbs_ = $_params[3]; else $_howmanythumbs_ = $singlethumb;

就可以了. [from: www.autoit.net]


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

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

 
MarketPlace组件顶部最新5条信息图片的改动   easybook 1.2 for Joomla 1.0 输出Title的