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

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

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

TOPIC: Jquery conflict uking template

Jquery conflict uking template 2 years, 10 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 2 years, 10 months ago #30701

  • yennt
  • OFFLINE
  • Moderator
  • Posts: 1365
  • Karma: 20
Dear nick_ingenia,

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

Thanks & regards!

Re: Jquery conflict uking template 2 years, 10 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 2 years, 10 months ago #30712

  • yennt
  • OFFLINE
  • Moderator
  • Posts: 1365
  • Karma: 20
Dear nick_ingenia,

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

Thanks & regards!

Re: Jquery conflict uking template 2 years, 10 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 2 years, 10 months ago #30876

  • yennt
  • OFFLINE
  • Moderator
  • Posts: 1365
  • 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.42 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.

Suggested Posts

(/)
Result not found!

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
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes