Tienda Add to Cart button conflict with Hot Relief

  • drweyant
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 7 months ago #9924 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

Please Log in to join the conversation.

More
12 years 7 months ago #9941 by ivan.milic
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.

Please Log in to join the conversation.

More
12 years 7 months ago #9942 by ivan.milic
Also there can be javascript Ajax issue with virtuemart when in virtuemart.cfg.php your site links are net the same - one starts with
Code:
http://www.
and other not .

Please Log in to join the conversation.

  • drweyant
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 7 months ago #9968 by drweyant
Thank you! Updating the jquery library did the trick!

Please Log in to join the conversation.

Time to create page: 0.355 seconds
Powered by Kunena Forum