Viewing 15 posts - 16 through 30 (of 41 total)
  • Author
    Posts
  • Saguaros Moderator
    #366104

    When you remove the file so the block which displays left column, right column, >> lose the Coll Collapse / Expand function.

    bobgen Friend
    #375258

    Problem with Kunena is only with mega Menu.

    buccini07 Friend
    #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
    Thanks

    For 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 Friend
    #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.

    cellardoor_ncx Friend
    #402918

    Hi. 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.js

    Is 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 Friend
    #403091

    Hi cellardoor_ncx

    Could you PM your site’s information (admin & ftp account)? And what browser you used raise this bug?

    cellardoor_ncx Friend
    #403161

    Did you get my PM ?

    chavan Friend
    #403220

    Hi 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.

    cellardoor_ncx Friend
    #403326

    Yes, 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 Friend
    #403394

    Hi cellardoor_ncx

    I need more time to solve this problem. I will announce solution immediately when I find it.

    cellardoor_ncx Friend
    #403570

    Great. Thanks for your contribution.

    chavan Friend
    #404309

    Hi 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);
    }

    cellardoor_ncx Friend
    #404334

    As far as I tested it, works great.
    Thank you Do Ha and whole joomlart support people !

    Pontikos Friend
    #431188

    Hello. 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.

    Pontikos Friend
    #432538

    Can anyone help me with this? Where is the support from Joomlart?

Viewing 15 posts - 16 through 30 (of 41 total)

This topic contains 41 replies, has 21 voices, and was last updated by  n6rej 12 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum