NSPGK5 loads mootools by default

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Apr 10, 2015 5:39 pm
Hi There,

I installed mootools GK5 v1.8.2 in J3.4.1 and regardless of setting it to Force Disabled using module JS and using JS framework to jQuery it still loads Mootools libraries. It's kind of annoying since /media/system/js/mootools-more.js conflicts with jQuery toggle.

Is there a workaround on this please?

Thanks!
User avatar
Junior Boarder

GK User
Fri Apr 10, 2015 6:33 pm
Found the line of code that loads mootools. Please see attached screen capture.
nspgk5.png

Question is, is this still necessary if I choose to use jQuery engine? Maybe it needs a validation like:

Code: Select all
if($params->get('engine_mode','jquery') == 'mootools'){
   JHtml::_('behavior.framework', true);
}


Thanks!
User avatar
Junior Boarder

GK User
Mon Jun 29, 2015 7:55 pm
Gavick Team, any news on this? Or comments?

Thanks!
User avatar
Junior Boarder

GK User
Mon Jun 29, 2015 9:09 pm
Hello,

We will remove these lines in the next update.
User avatar
Administrator

GK User
Mon Jun 29, 2015 9:35 pm
Cool! Thanks dziudek :)
User avatar
Junior Boarder


cron