Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Newsflash free Joomla module.

Topic-icon jquery and mootools conflict resolution

More
7 years 9 months ago #59 by kmk
kmk created the topic: jquery and mootools conflict resolution
Hot Newsflash is great, but it seems to break a lot of other extensions on my site. Is there any way you can incorporate the following solution or similar into Hot Newsflash to resolve what I believe is a conflict with mootools? The text is quoted from the SC jQuery plugin description.

"This plugin is used to load jQuery javascript library, and set "no conflict" mode to allow usage with mootools, and other libraries. No conflict mode remove the "$" operator from jQuery, allowing other libraries to use that operator. If you have questions, please email me at This email address is being protected from spambots. You need JavaScript enabled to view it."

Note: I disabled jQuery option in Hot Newsflash and enabled the SC jQuery plugin in the Joomla plugin manager hoping that would solve the problem, but Hot Newsflash won't function, or at least not the rotation feature, when you disable it's own jQuery option.

Please Log in to join the conversation.

More
7 years 9 months ago #61 by milos
milos replied the topic: Re: jquery and mootools conflict resolution
This module can't work without jQuery. It must be enabled in template or module. Conflict between jQuery and mooTools is possible. Try to google that to find a solution. Usually, people doesn't mix those 2 libraries, but decide to use one of them. Even if they are not in conflict, using 2 libraries is resource-consuming.

Please Log in to join the conversation.

More
7 years 9 months ago #62 by kmk
kmk replied the topic: Re: jquery and mootools conflict resolution
Could you possibly recode Hot Newsflash to load the jQuery javascript library, with a "no conflict" mode option to allow usage with mootools and other libraries? No conflict mode removes the "$" operator from jQuery, allowing other libraries to use that operator. I see you have an option to disable jQuery, but when I do, Hot Newsflash doesn't rotate, even if I use another Joomla plugin such as 'SC jQuery' to load jQuery into the template in 'no conflict' mode. It would be just great if you could do this as Hot Newsflash has quickly become one of my favorite modules and a valuable and much appreciated addition to my site.Â

Please Log in to join the conversation.

  • omojesu
  • omojesu's Avatar
  • Visitor
  • Visitor
7 years 9 months ago #63 by omojesu
omojesu replied the topic: Re: jquery and mootools conflict resolution
I totally agree with this suggestion. I am having exactly the same issue. Disabling JQuery in Hot Newsflash admin renders the module unuseful since the rotation and the tabs become non-functional...so I am not sure what value the JQuery disable option have if it is going to render the module inoperable. Most Joomla sites already run on JQuery extensions so there is a great challenge enabling another JQuery session in Hot Newsflash which if enabled messes up the site frontpage.

Otherwise if this issue is resolved, this will be a great Joomla extension.

Please Log in to join the conversation.

More
7 years 9 months ago #65 by milos
milos replied the topic: Re: jquery and mootools conflict resolution
Version 1.0.3 is available. It has no conflict mode. I hope this will work for you.

Please Log in to join the conversation.

More
7 years 9 months ago #70 by kmk
kmk replied the topic: Re: jquery and mootools conflict resolution
Fantastic. Much appreciated. Can I just overwrite the old one without losing all the information I entered?

Please Log in to join the conversation.

Time to create page: 0.167 seconds

Links, Partners and Social Media