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

Menu System Begin To frustrate me
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Menu System Begin To frustrate me

Menu System Begin To frustrate me 7 years, 3 months ago #31074

Hi

I am using sj_healthcare in Arabic Language. Header menu working good in the Home page but when I navigate to other menu item inside my website I can't navigate to other pages and the drop down menu stopped I have this error in many templates and also in mobile versions, i need a solution.

See that Link
kasralmaadi.com/%D8%AE%D8%AF%D9%85%D8%A7%D8%AA%D9%86%D8%A7/%D8%B9%D9%84%D8%A7%D8%AC-%D8%A7%D9%84%D8%A7%D8%AF%D9%85%D8%A7%D9%86

Drop Down Menu Doesn't work

I need help very urgent please someone help me

Re: Menu System Begin To frustrate me 7 years, 3 months ago #31095

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

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!

Re: Menu System Begin To frustrate me 7 years, 3 months ago #31105

Thank you for reply Yennt

I did but the website stopped, I got a blank page.. please explain more I need help very urgent

John Farouk

Re: Menu System Begin To frustrate me 7 years, 3 months ago #31106

I removed all you sent me, I don't understand as you don't mention replace with another code can you send me explination again

Many thanks

Re: Menu System Begin To frustrate me 7 years, 3 months ago #31146

  • thuygtn
Dear jojokojo,

Maybe, you removed wrong code, please check it.
Please remove if($app->isSite()){
// Remove default mootools
code block
}
only

thanks
  • Page:
  • 1
Time to create page: 0.24 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