是否可以在joomla 2.5上使用joomla 3模块? [英] Is is possible to use joomla 3 modules on joomla 2.5?

查看:112
本文介绍了是否可以在joomla 2.5上使用joomla 3模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以使用Joomla! J!2.5上的3个扩展?

Is there any way to use Joomla! 3 extensions on J!2.5 ?

我需要在Joomla上使用Noo时间轴! 2.5,但没有版本.

I need to use Noo Timeline on Joomla! 2.5 but there is no version for it.

http://extensions. joomla.org/extensions/calendars-a-events/time/content-date-a-time/25732

最诚挚的问候,

推荐答案

更改以下文件中的以下代码

Change below codes in below files

在modules/mod_noo_timeline/elements/nootimeline.php 中,行号:25

更改

JHtml::_('jquery.ui', array('core','sortable')); 

收件人:

$document = JFactory::getDocument();
$document->addScript("//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js");
$document->addScript("//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js");
$document->addStyleSheet("//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css"); 

在modules/mod_noo_timeline/mod_noo_timeline.php 中,行号:16

添加以下代码:

$document->addScript("//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js");

第24行

更改以下代码:

jQuery(document).ready(function($){

收件人:

$(document).ready(function($){

在modules/mod_noo_timeline/assets/css/style.css 中,行号:45

替换类的CSS(.noo-tl-item.left):

replace css for class (.noo-tl-item.left):

.noo-tl-item.left {
float: left;
width:50%;
}

对我有用.

这篇关于是否可以在joomla 2.5上使用joomla 3模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆