- Posts: 3
- Thank you received: 0
Tienda Add to Cart button conflict with Hot Relief
-
drweyant
Inactive member - Topic Author
- New Member
Less
More
13 years 5 months ago #9924
by drweyant
Tienda Add to Cart button conflict with Hot Relief was created by drweyant
Greetings,
We are having conflicts when pressing the Add to Cart button in Tienda now that we have changed to the Hot Relief template ( See: office.untci.org/resources/officially-licensed-clothing )
Tienda offers a solution for this that requires ensuring the jquery is loaded in No Conflict mode (For full solution information, see: dioscouri.com/index.php?option=com_conte...eshooting&Itemid=468 )
I have no clue what I am doing, but just a quick glance over the header jquery references, I did see a "no conflict" statement there. Perhaps there is more I am unaware of?
Any help at all with this would be most appreciated. Everything worked fine until I made the template change.
Thanks in advance,
Nicole
We are having conflicts when pressing the Add to Cart button in Tienda now that we have changed to the Hot Relief template ( See: office.untci.org/resources/officially-licensed-clothing )
Tienda offers a solution for this that requires ensuring the jquery is loaded in No Conflict mode (For full solution information, see: dioscouri.com/index.php?option=com_conte...eshooting&Itemid=468 )
I have no clue what I am doing, but just a quick glance over the header jquery references, I did see a "no conflict" statement there. Perhaps there is more I am unaware of?
Any help at all with this would be most appreciated. Everything worked fine until I made the template change.
Thanks in advance,
Nicole
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 #9941
by ivan.milic
Replied by ivan.milic on topic Re: Tienda Add to Cart button conflict with Hot Relief
Hi,
read this. It's about optimising jQuery so you wont need noConflict()
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.
read this. It's about optimising jQuery so you wont need noConflict()
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 5 months ago #9942
by ivan.milic
Replied by ivan.milic on topic Re: Tienda Add to Cart button conflict with Hot Relief
Also there can be javascript Ajax issue with virtuemart when in virtuemart.cfg.php your site links are net the same - one starts with
and other not .
Code:
http://www.
Please Log in to join the conversation.
-
drweyant
Inactive member - Topic Author
- New Member
Less
More
- Posts: 3
- Thank you received: 0
13 years 5 months ago #9968
by drweyant
Replied by drweyant on topic Re: Tienda Add to Cart button conflict with Hot Relief
Thank you! Updating the jquery library did the trick!
Please Log in to join the conversation.
Time to create page: 0.161 seconds