Hot Zoomer - compatibility with other modules joom

  • netajour
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 3 months ago #10909 by netajour
Hello,

Website : www.nutravita.fr/v2

I bought and install Hot Joomla Zoomer in a Shape5 template.
The module works correctly but, as I activate it, two others modules do not work correctly.

- Yoo scroller (you'll find it on the bottom left module - It does not scroll anymore)
- The scroll to top modules - Does not worl - Right footer position

What happens ? Whane I disable the Hot Zoomer - the two others modules work correctly ?

Thank you for your help

Please Log in to join the conversation.

More
13 years 3 months ago #10916 by ivan.milic
Ok, that is common jQuery referencing issue. That happens when you have multiple references of jQuery (zoomer itself can insert it's on reference but you can turn that off). This is scenario: you have one jquery reference in head section of page, some other component's javascript that uses jQuery begins to initialize, but then in page load process browser hits in your case reference that is inserted by zoomer and overwrites firs jQuery definition. That causes all earlier loaded scripts to crash. Just disabling jQuery in zoomer may not solve all you issues because zoomer may require newer version of jquey that referenced in your head section of page. Here is general description of haw to optimize jquery for joomla site:

TEXT:

Good practice is to disable JQuery in all modules and then in index.php of template in head section add manually reference to .


Latest version of jQuery you can download from jquery.com , link is jqueryui.com/download .
You can copy files from package to <template folder>/js/

There are 2 script and one css reference:

<link href="<???path???>/jquery-ui-1.x.xx.custom.css" rel="stylesheet" type="text/css" />

<script src="<???path???>/jquery-1.x.x.min.js" type="text/javascript" />
<script src="<???path???>/jquery-ui-1.x.xx.min.js" type="text/javascript"/>

Go to Module manager open module by bodule and whereerver you see "Load JQuery" (this name can differ form case to case ) property disable it.
Then also go to plugin manager and do that also.

Then open index.php of template and check if there is already reference there. If yes you can just modify it to reference new files you downloaded or delete it and put above 3 reference lines in that order as much close to begining of <head> section as it can be.


To chack you have one and only exactly one reference use "View source" option of your browser when you go to your site. js. References can sometimes be in place where module is rendered so you need to check all source. Easiest way is to text-serach "jquery" in page's source.

Please Log in to join the conversation.

  • netajour
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago - 13 years 2 months ago #10948 by netajour
Hi there,

First thank you

I try to understand and applying your solutions

First I download an install the latest version of jQuery
In the template folder and js subfolder

I opened and verify all modules and plugin - only the Hotzoomer has the option to activate or not jQuery... The two others modules using jQuery did not have a disabling option.

In the index.php :
I changed the jQuery script and css lines as you can see with editing the source code.
I found a menu script using jQuery but I do not use it then I delete the codes lines.

But .... no success - the two other modules does not works when I use hotZoomer

Thanks for you help
Last edit: 13 years 2 months ago by netajour.

Please Log in to join the conversation.

Time to create page: 0.201 seconds
Powered by Kunena Forum