error in menu of my web with hikashop

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #26511

my site when I'm on hikashop component does not look good down menu of other sections. there is any inconsistency between megamenu and hikashop.
Can you help?
example:
here the menus work properly
www.barbernardo.com/
and here:
www.barbernardo.com/tienda.html

help me please. thanks

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #26512

I found the file causing the problem: the js call hikashop.js,
Located in media / con_hihashop / js / hikashop.js
what is not is the js that causes the incompatibility megamenu ...
can you help me? thanks

Last edit: 13 years 1 month ago by xinxeta.

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 1 month ago #26527

I don't see any JS error on your website. Except that the menu content is cut at the bottom because the page is too small and your menu content too big, I don't see any other problem. Is that your problem ? In that case, you should just have more products/modules on that page and it won't be cut.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #26541

Sorry, try now... i'd renamed the file. but the problem is not that de menu content is cut at the bottom. the problem is that the menu dont show submenus when you are in www.barbernardo.com/tienda.html
If i rename the hikashop.js all the menus works fine.
I checked in safari, firefox and IE for windows and firefox and safari for mac....
thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 1 month ago #26543

You have the problem described in the part "Problems with modal popups" of the page www.hikashop.com/fr/support/documentatio...tibility-issues.html
There is something using jquery on your website without the noconflict compatibility code. That breaks the mootools library of Joomla and create javascript errors.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #26558

Ok, but only occurs with hikashop js. It does not happen with any other joomla component/module/extension authorized.
I was going to buy the pro version of hikashop but if in my site does not work I can not buy.
There is no solution?
thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 1 month ago #26575

As I said, the problem is not in HikaShop. To fix it, you need to change some code in megamenu.
The fact that it only happens with HikaShop on your website just means that you don't have another extension which loads mootools (which is the standard joomla library for javascript) on your front end.
Looking on google, you're not the only one with javascript conflicts with megamenu:
www.google.com/search?gcx=c&ix=c2&source...menu+jquery+conflict

There should be a solution. Here is for example a link where the author has solved his javascript conflict in megamenu by changing one line of js in the megamenu javascript file:
sarwarhossain.com/2010/04/14/jquery-mega...lict-with-jquery-ui/
That might solve the problem for you too.
Note that you have your template caching your javascript, so you might need to refresh the javascript cache of your template (or turn it off temporarily) to see your change.

Please Log in or Create an account to join the conversation.

  • Posts: 2639
  • Thank you received: 66
  • Hikashop Business
13 years 1 month ago #26578

I wonder why have they opted for Mootools over JQuery, when everybody in new web development is using jQuery

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #26579

THAKS!!!! works!!!

i just commented the line 124 in hikashop.js:
//jQuery.noConflict();

there will be any problem running Hikashop commenting this line or will works ok?

Thanks for your help

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 1 month ago #26584

No problem on that.

We're using mootools simply because that's the default library of joomla for javascript. Lot of other extensions for joomla also use mootools.

Please Log in or Create an account to join the conversation.

  • Posts: 38
  • Thank you received: 0
13 years 2 weeks ago #29849

It makes sense they are using Mootools since that is a Joomla default, still it is regrettable as I don't use it on my custom templates, and instead prefer jQuery.


Maybe future versions could have an option: Mootools or jQuery modal windows?

Haha, thanks for the great work!

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 2 weeks ago #29876

That could be something to look at in the future yes.

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum