Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Jquery conflict uking template
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Jquery conflict uking template

Jquery conflict uking template 7 years, 3 months ago #30691

Hello I'm using default Uking template after quick start install.(uking responsive joomla kindergarten template).

There is a jquery conflict:

JQMIGRATE: Migrate is installed, version 1.4.1
jquery.fancybox.min.js:2 Uncaught SyntaxError: Unexpected token )
(index):2737 Uncaught TypeError: $(...).fancybox is not a function
at HTMLDocument.<anonymous> ((index):2737)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)

Don't work footer gallery and mobile menu

Re: Jquery conflict uking template 7 years, 3 months ago #30701

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear nick_ingenia,

Please make sure that you disable Merge js file in Template manager.

Thanks & regards!

Re: Jquery conflict uking template 7 years, 3 months ago #30711

Thanks for your reply.

Yes that option is disabled.

Merge file, Compress css, Compress js are all set to off.

Re: Jquery conflict uking template 7 years, 3 months ago #30712

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear nick_ingenia,

Please send me your admin account in Website information to check directly.

Thanks & regards!

Re: Jquery conflict uking template 7 years, 3 months ago #30860

Dear yennt I inserted in this post admin account of my site.

Please check Menu (mobile view) and Footer Gallery.

Thanks

Re: Jquery conflict uking template 7 years, 3 months ago #30876

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear Nick,

Please go to the file: \plugins\system\yt\yt.php and remove the code:

// Frontend
if($app->isSite()){
// Remove default mootools
unset($doc->_scripts[JURI::root(true) . '/media/system/js/core.js']);
unset($doc->_scripts[JURI::root(true) . '/media/system/js/modal.js']);
unset($doc->_scripts[JURI::root(true).'/media/system/js/caption.js']);
unset($doc->_scripts[JURI::root(true) . '/media/system/js/mootools.js']);
unset($doc->_scripts[JURI::root(true).'/media/system/js/mootools-core.js']);
unset($doc->_scripts[JURI::root(true).'/media/system/js/mootools-more.js']);

unset($doc->_styleSheets[JUri::root(true) . '/media/system/css/modal.css']);

if (isset($doc->_script) && isset($doc->_script['text/javascript']))
{
$doc->_script['text/javascript'] = preg_replace('%window\.addEvent\(\'load\',\s*function\(\)\s*{\s*new\s*JCaption\(\'img.caption\'\);\s*}\);\s*%', '', $doc->_script['text/javascript']);
$doc->_script['text/javascript'] = preg_replace('%jQuery\(window\)\.on\(\'load\'\,\s*function\(\)\s*\{\s*new\s*JCaption\(\'img\.caption\'\);\s*\}\);%', '', $doc->_script['text/javascript']);
$doc->_script['text/javascript'] = preg_replace('%window\.addEvent\(\'load\',function\(\)\{\s*\}\);%', '', $doc->_script['text/javascript']);
//remove SqueezeBox.initialize in behavior.php
$doc->_script['text/javascript'] = preg_replace('%SqueezeBox\.initialize\(\{\}\);\s*SqueezeBox\.assign\(\$\(\'a.modal\'\)\.get\(\)\, {\s*parse\:\s\'rel\'\s*\}\);%', '', $doc->_script['text/javascript']);
if (empty($doc->_script['text/javascript']))
unset($doc->_script['text/javascript']);
}
}

Thanks & regards!
  • Page:
  • 1
  • 2
Time to create page: 0.23 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes