Black Friday & Cyber Monday 2019 Sale: Up to 40% OFF Storewide & Extra Gift
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

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 2 years, 10 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 2 years, 10 months ago #31095

  • yennt
  • OFFLINE
  • Moderator
  • Posts: 1365
  • 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 2 years, 10 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 2 years, 10 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 2 years, 10 months ago #31146

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.45 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.
Black Friday & Cyber Monday 2019 Sale: Up to 40% OFF Storewide & Extra Gift

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