-
AuthorPosts
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
bobgen Friendbobgen
- Join date:
- January 2006
- Posts:
- 50
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
February 6, 2011 at 4:58 pm #375258Problem with Kunena is only with mega Menu.
May 2, 2011 at 10:58 am #389404<em>@khanh le 207694 wrote:</em><blockquote>Hi all,
Please following these instruction to fix the problem:
…..
</blockquote>
Your fix procedure has worked!
Great!
Thanks khanh le!
Thanks
Thanks
ThanksFor the records:
my Joomla = 1.5.23 (fresh upgrade from 1.5.15)
my PHP = 5.3.6
my Kunema = not installed yet (I’m planning to do it now)Like all other guys in this thread, I have gone in troubles after the activation of the Joomla “Mootools Upgrade” plugin (menu items not clickable when using Megamenu).
Again thanks Khanh le. ๐
denis25 Frienddenis25
- Join date:
- July 2009
- Posts:
- 66
- Downloads:
- 0
- Uploads:
- 21
- Thanks:
- 8
- Thanked:
- 22 times in 6 posts
May 8, 2011 at 6:45 am #390281<em>@tienhc 207713 wrote:</em><blockquote>When you remove the file so the block which displays left column, right column, >> lose the Coll Collapse / Expand function.</blockquote>
Strange !
I made the modification supplied by Khanh le, and the collapsible function continues to work.
Thanks to Khanh le for its solution which works perfectly.July 25, 2011 at 11:57 am #402918Hi. I’m using Mootools upgrade, Kunena 1.6.4 and Ja Purity II with moo menu (moo.js). I’m also having issues after enabling mootools upgrade. The problem is :
Line: 171
Code: 0
Error: Object does not use method โinitโ
URL: http://www.testowa.jagodnik.pl/templates/ja_purity_ii/js/menu/moo.jsIs there any workaround ?
EDIT : I found what they say is a valid code for moo.js for mootools 1.2.4 : http://www.mooforum.net/help12/converting-dropdown-menu-for-mootools-t3420.html
however, now it gives an error :
Linia: 139
Error info : Invalid function.chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 26, 2011 at 10:25 am #403091Hi cellardoor_ncx
Could you PM your site’s information (admin & ftp account)? And what browser you used raise this bug?
July 26, 2011 at 5:07 pm #403161Did you get my PM ?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 27, 2011 at 3:15 am #403220Hi cellardoor_ncx
I saw that your site was used mootools 1.2.5 and it work normally. There was no error occuring when I tested in chrome 12, ie 9, firefox 5.
July 27, 2011 at 1:50 pm #403326Yes, my site uses Mootools Upgrade – 1.2.5 to support Kunena 1.6. When you browse with IE9, it works well until you try to use main menu – try it. There is moo.js error
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 28, 2011 at 7:10 am #403394Hi cellardoor_ncx
I need more time to solve this problem. I will announce solution immediately when I find it.
July 29, 2011 at 8:20 am #403570Great. Thanks for your contribution.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 3, 2011 at 8:29 am #404309Hi cellardoor_ncx
I found solution. You replace all code in moo.js by
/*
#------------------------------------------------------------------------
JA Purity II for Joomla 1.5
#------------------------------------------------------------------------
#Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
#@license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html
#Author: J.O.O.M Solutions Co., Ltd
#Websites: http://www.joomlart.com - http://www.joomlancers.com
#------------------------------------------------------------------------
*/if (typeof(MooTools) != 'undefined'){
var subnav = new Array();
if (MooTools.version.substring(0, 3) == '1.1') {
Element._ext = Element.extend;
} else {
Element._ext = Element.implement;
}Element._ext(
{
hide: function(timeout)
{
this.status = 'hide';
clearTimeout (this.timeout);
if (timeout)
{
this.timeout = setTimeout (this.anim.bind(this), timeout);
}else{
this.anim();
}
},show: function(timeout)
{
this.status = 'show';
clearTimeout (this.timeout);
if (timeout)
{
this.timeout = setTimeout (this.anim.bind(this), timeout);
}else{
this.anim();
}
},setActive2: function () {
//this.addClass(classname);
this.className+=' sfhover';
/*
for(var i=0;i<this.childNodes.length; i++) {
if(this.childNodes.nodeName.toLowerCase() == 'a') {
//$(this.childNodes).addClass(classname);
$(this.childNodes).setActive();
return;
}
}
*/
},setDeactive2: function () {
//this.removeClass(classname);
this.className=this.className.replace(new RegExp(" sfhover\b"), "");
/*
for(var i=0;i<this.childNodes.length; i++) {
if(this.childNodes.nodeName.toLowerCase() == 'a') {
$(this.childNodes).setDeactive();
return;
}
}
*/
},anim: function() {
if ((this.status == 'hide' && this.style.left != 'auto') || (this.status == 'show' && this.style.left == 'auto' && !this.hidding)) return;
this.setStyle('overflow', 'hidden');
if (this.status == 'show') {
this.hidding = 0;
this.hideAll();
//this.parentNode.setActive();
} else {
//this.parentNode.setDeactive();
}if (this.status == 'hide')
{
this.hidding = 1;
//this.myFx1.stop();
this.myFx2.stop();
//this.myFx1.start(1,0);
if (this.parent._id) this.myFx2.start(this.offsetWidth,0);
else this.myFx2.start(this.offsetHeight,0);
} else {
this.setStyle('left', 'auto');
//this.myFx1.stop();
this.myFx2.stop();
//this.myFx1.start(0,1);
if (this.parent._id) this.myFx2.start(0,this.mw);
else this.myFx2.start(0,this.mh);
}
},init: function() {
this.mw = this.clientWidth;
this.mh = this.clientHeight;
//this.myFx1 = new Fx.Style(this, 'opacity');
//this.myFx1.set(0);
if (this.parent._id)
{
this.myFx2 = new Fx.Style(this, 'width', {duration: 300});
this.myFx2.set(0);
}else{
this.myFx2 = new Fx.Style(this, 'height', {duration: 300});
this.myFx2.set(0);
}
this.setStyle('left', '-999em');
animComp = function(){
if (this.status == 'hide')
{
this.setStyle('left', '-999em');
this.hidding = 0;
}
this.setStyle('overflow', '');
}
this.myFx2.addEvent ('onComplete', animComp.bind(this));
},hideAll: function() {
for(var i=0;i<subnav.length; i++) {
if (!this.isChild(subnav))
{
subnav.hide(0);
}
}
},isChild: function(_obj) {
obj = this;
while (obj.parent)
{
if (obj._id == _obj._id)
{
//alert(_obj._id);
return true;
}
obj = obj.parent;
}
return false;
},
});var DropdownMenu = new Class({
initialize: function(element)
{
//$(element).mh = 0;
$A($(element).childNodes).each(function(el)
{
if(el.nodeName.toLowerCase() == 'li')
{
//if($(element)._id) $(element).mh += 30;
$A($(el).childNodes).each(function(el2)
{
if(el2.nodeName.toLowerCase() == 'ul')
{
$(el2)._id = subnav.length+1;
$(el2).parent = $(element);
subnav.push ($(el2));
el2.init();
//el.addEvent('mouseover', function()
el.addEvent('mouseenter', function()
{
//console.debug(el + ' mouseover');
el.setActive2();
el2.show(0);
return false;
});//el.addEvent('mouseout', function()
el.addEvent('mouseleave', function()
{
//console.debug(el + ' mouseout');
el.setDeactive2();
el2.hide(20);
});
new DropdownMenu(el2);
el.hasSub = 1;
}
});
if (!el.hasSub)
{
el.addEvent('mouseenter', function()
{
el.setActive2();
return false;
});el.addEvent('mouseleave', function()
{
el.setDeactive2();
});
}
}
});
return this;
}
});window.addEvent('domready',function() {new DropdownMenu($('ja-cssmenu'))});
}else {
sfHover = function() {
var sfEls = document.getElementById("ja-cssmenu").getElementsByTagName("li");
for (var i=0; i<sfEls.length; ++i) {
sfEls.onmouseover=function() {
this.className+=" sfhover";
}
sfEls.onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
}3 users say Thank You to chavan for this useful post
August 3, 2011 at 10:24 am #404334As far as I tested it, works great.
Thank you Do Ha and whole joomlart support people !December 26, 2011 at 7:57 am #431188Hello. I’ve run into this same issue now with JA_Kyanite_II and using Kunena 1.7.1
The megamenu stops working as soon as you go to Kunena. You can no longer click the sub menus at all.
I’ve tried the changes in the previous posts, but nothing fixes it.
Can anyone please suggest how to fix this? I need to find a way to keep the current template but also run the latest Kunena.
Thank you.
-
AuthorPosts
This topic contains 41 replies, has 21 voices, and was last updated by n6rej 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum