- Posts: 21
- Thank you received: 0
Discussion about Hot Spinner Joomla module.
HotSpinner Prevents Tooltips from Appearing
-
planethop
Inactive member - Topic Author
- Member
Less
More
13 years 5 months ago #9697
by planethop
HotSpinner Prevents Tooltips from Appearing was created by planethop
After enabling Hot Spinner it s interfering with another module on the page mod_featured_avatars. Now, when hovering over one of the images in the featured avatars module, I am not getting a Tooltip Popup of the image. Disabling Hot Spinner Module, gives me the popup again. Enabling Load JQuery and JQuery No-Conflict Mode does not make a difference.
Can you take a look at my site and tell me how to fix this? URL: planethop.com
Can you take a look at my site and tell me how to fix this? URL: planethop.com
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 5 months ago #9714
by ivan.milic
Replied by ivan.milic on topic Re: HotSpinner Prevents Tooltips from Appearing
You have multiple jQuery references on page coming from various components. See this 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.
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.
-
planethop
Inactive member - Topic Author
- Member
Less
More
- Posts: 21
- Thank you received: 0
13 years 5 months ago #9738
by planethop
Replied by planethop on topic Re: HotSpinner Prevents Tooltips from Appearing
I will try this. But I also have Mootools installed. I think mootools needs to be loaded first. How do I accommodate for that?
Also, is the Head the best place for jQuery or at the end like javascript?
Also, is the Head the best place for jQuery or at the end like javascript?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 5 months ago #9749
by ivan.milic
Replied by ivan.milic on topic Re: HotSpinner Prevents Tooltips from Appearing
Yes , head is best place and reference mus be before some other lib try's to use it.
Please Log in to join the conversation.
-
planethop
Inactive member - Topic Author
- Member
Less
More
- Posts: 21
- Thank you received: 0
13 years 4 months ago #10050
by planethop
Replied by planethop on topic Re: HotSpinner Prevents Tooltips from Appearing
I have load jQuery disabled in the module backend; but the following still shows up in the source.
<link rel="stylesheet" href="/modules/mod_hot_spinner/tmpl/css/ui-lightness/jquery-ui-1.8.11.custom.css" type="text/css" />
<link rel="stylesheet" href="/modules/mod_hot_spinner/tmpl/css/jquery.holest.carousel.css" type="text/css" />
Based on the your instructions; shouldn't I prevent the above from loading?
If that is the case, how would I do this?
<link rel="stylesheet" href="/modules/mod_hot_spinner/tmpl/css/ui-lightness/jquery-ui-1.8.11.custom.css" type="text/css" />
<link rel="stylesheet" href="/modules/mod_hot_spinner/tmpl/css/jquery.holest.carousel.css" type="text/css" />
Based on the your instructions; shouldn't I prevent the above from loading?
If that is the case, how would I do this?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 4 months ago #10063
by ivan.milic
Replied by ivan.milic on topic Re: HotSpinner Prevents Tooltips from Appearing
Hi, open
modules\mod_hot_spinner\tmpl\default.php
remove this line:
<script src="<?php echo $mosConfig_live_site; ?>/modules/mod_hot_spinner/js/jquery-ui-1.8.11.custom.min.js" type="text/javascript"></script>
there is nothing wrong with second ref.
modules\mod_hot_spinner\tmpl\default.php
remove this line:
<script src="<?php echo $mosConfig_live_site; ?>/modules/mod_hot_spinner/js/jquery-ui-1.8.11.custom.min.js" type="text/javascript"></script>
there is nothing wrong with second ref.
Please Log in to join the conversation.
Time to create page: 0.159 seconds