Due to health issues support is very limited

file JooCart Conflict

More
4 years 2 months ago #10621 by redkeane
JooCart Conflict was created by redkeane
Hello, Admin Menu Manager Pro causes an issue with fields and buttons in JooCart.

They disappear after you hover over them.

It doesn't appear to be a CSS or JavaScript issue as i removed each file one after the other and tested on a clean install.

Is it possible to get some help with this?

Many thanks

Red

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #10623 by carsten888
Replied by carsten888 on topic JooCart Conflict
Sure.

I mailed you.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #10625 by carsten888
Replied by carsten888 on topic JooCart Conflict
Ok, this is a really wierd issue.

As soon as the admin-menu-module is enabled, Joomla loads its core mootools library /media/system/js/mootools-core.js (see line 92). Thats what is conflicting with the jquery buttons used in Joocart. Take that line away and all starts working again.
My module loads the Joomla core modal window script in case there are modal links in de admin-menu-manager menu.

Best thing I guess would be to ask the people at Joocart if they can make their script compatible with the Joomla core mootools library.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #10626 by redkeane
Replied by redkeane on topic JooCart Conflict
Yep it was definitely a weird one.

Thanks for looking into it. I have contacted JooCart support to see if they can do something to help.

Much appreciated.

Red

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #10632 by redkeane
Replied by redkeane on topic JooCart Conflict
Update on the solution for this.

The folks over at SoftPHP sent the following and it worked. I can now use Admin Menu manager and JooCart.

Edit components/com_opencart/admin/view/javascript/common.js
At the end of the file you will see commented code like this
// If you have MooTools conflict issue then remove the comment for the following lines
/*
if(typeof MooTools != 'undefined' ) {
window.addEvent('domready',function() {
Element.prototype.hide = function() {
// Do nothing
};
});
}*/
Just remove the comment and save as follows
// If you have MooTools conflict issue then remove the comment for the following lines
if(typeof MooTools != 'undefined' ) {
window.addEvent('domready',function() {
Element.prototype.hide = function() {
// Do nothing
};
});
}



Just be sure to clear cache after you edit the file.

Red

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago - 4 years 2 months ago #10633 by carsten888
Replied by carsten888 on topic JooCart Conflict
great! thanks for sharing.

Did they mention anything about if this code will be included in future updates of their extension?
Else I might make it a FAQ.
Last edit: 4 years 2 months ago by carsten888.

Please Log in or Create an account to join the conversation.

Time to create page: 0.139 seconds
Powered by Kunena Forum
 
spicy-sacerdotal