|
MarketPlace组件顶部最新5条信息图片的改动
|
|
|
|
Author: Autoit | Date:2009-02-13 | View: 6273 | Digg: 15 |
|
默认是显示所有分类里的最近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 就可以了. |
|
|
Simple Image Gallery PRO 1.2 显示模式参数实效的问题
|
|
|
|
Author: Autoit | Date:2008-10-13 | View: 6997 | Digg: 15 |
|
{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] |
|
|
easybook 1.2 for Joomla 1.0 输出Title的
|
|
|
|
Author: Autoit | Date:2008-06-26 | View: 11413 | Digg: 17 |
|
components/com_easybook/easybook.php ~79行 function GuestbookHeader 段: global $Itemid, $database 替换为: global $Itemid, $mainframe, $database 接着下面的 $mname = new mosMenu( $database );
$mname->load($Itemid);
# Check for Joom!Fish and use translated Menuname instead
$menuname = $mname->name;下面增加: $mainframe->SetPageTitle( $menuname ); 这样,浏览器的标题就有了留言菜单的名字. |
|
|
joomla里的速度,关键词,SEO 一角,旧话重题
|
|
|
|
Author: Autoit | Date:2008-04-24 | View: 11357 | Digg: 32 |
|
页面里某块影响页面显示速度? 影响关键词位置? SEO里的权重问题? 之前在这里有过. 今天更新下~~~ 比如模板里这个位置: <div class="user2_inner"><?php mosLoadModules ( 'user2', -1); ?></div> 如果我在这个user2的位置放放 GGAD 广告?可以把这行替换为: <div class="user2_inner" id="autoit"> 这里你可以 + Keyword 哦</div> 如果本来有了id了,比如 <div id="user2" class="user2_inner"><?php mosLoadModules ( 'user2', -1); ?></div> 那就这样啦 <div id="user2" class="user2_inner"><div id="autoit"> 这里你可以 + Keyword 哦</div></div> 当然不一定要 div, span,p 都行... 然后在页脚 </body>前增加: <div id="span_autoit" style="display:none;">
<?php mosLoadModules ( 'user2', -1); ?>
</div>
<script type="text/javascript">
document.getElementById("autoit").innerHTML = document.getElementById("span_autoit").innerHTML;
document.getElementById("span_autoit").innerHTML = "";
</script>就ok了, Game over. |
|
|
acajoom 前台mod提示 乱码问题
|
|
|
|
Author: Autoit | Date:2008-04-22 | View: 9187 | Digg: 8 |
|
/administrator/components/com_acajoom/classes/class.module.php 234 line:
$text .='>'.compa::toolTip($list->list_desc, $list->list_name, '', '', $list->list_name, $link, 1).'</span>'; to:
$text .= ">".compa::toolTip(addslashes($list->list_desc), addslashes($list->list_name), '', '', $list->list_name, $link, 1).'</span>'; 或 $text .= ">". mosToolTip(addslashes($list->list_desc), addslashes($list->list_name), '', '', $list->list_name, $link, 1).'</span>'; |
|
|
« First « 1 2 3 4 5 6 7 8 9 10 » Last »
|
| 1 - 5 / 109 |