I would like to use some of jquery's latest features, like jquery ui on my template, but without breaking the existing javascript code. Can I safely update jquery to 1.3.2 ? Or is it better to use both versions at the same time ? (explained here: https://www.adaptavi...cript+libraries )
Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Updating Jquery to 1.3.2
Started by Guest_sha_*, May 01 2009 09:15 AM
Updating Jquery to 1.3.2
#1 Guest_sha_*
Posted 01 May 2009 - 09:15 AM
#2 Guest__*
Posted 02 July 2009 - 10:08 AM
Hi - I'd also like to update the jquery-1.2.6.pack.js to the latest 1.3.2. Have you done it yet? Has it caused problems? Does anyone else know if it would cause a problem if I simply replaced the file with the updated version and changed header.tpl?
#3 Guest__*
Posted 02 July 2009 - 08:45 PM
I think the best thing to do is test it out.
If you have a testing environment, just make the switch there, and see if the site works fine.
If you don't have one, and your site is live, than I strongly suggest you find a proper programmer / webmaster that will set one up for you.
If you have a testing environment, just make the switch there, and see if the site works fine.
If you don't have one, and your site is live, than I strongly suggest you find a proper programmer / webmaster that will set one up for you.
#4 Guest__*
Posted 03 July 2009 - 11:59 AM
Thanks for the reply - I am the proper web programmer (I'm working on this site for my client) so I will test it out on my local server first!
#5 Guest__*
Posted 03 July 2009 - 02:20 PM
Cool, that's the best way, since you may be using additional modules that may be affected...
#6 Guest__*
Posted 04 July 2009 - 03:15 PM
I tried to do it but didn't succeed. I would advise against it actually, it's probably better to only use features that are backward compatible with the default jquery.
#7 Guest__*
Posted 18 November 2009 - 05:00 PM
I'm also trying to update jquery to the latest version (1.3.2), mainly to get rid of that awfull and outdated Thickbox script.
So far it's working good on the public part of my test installation, I have yet to test deeply the admin to see if there are any issues remaining.
- I had to remove the Jquery Interface plugins aswell as the prestashop patch for it. It is used for the transfer effect when you add a product to the shopping cart. I replaced it with JQueryUI's transfert effect (I'm just including effects core and tranfer so it won't overload the page with too muck kb, I also packed effects core).
- I updated idTabs to the latest version (the version used in Prestashop is very old and thus it is outdated.
- Finally I replaced that horrible Thickbox with the latest version of Colorbox.
I'm still testing but so far no problem on the public and admin part of the site. I'm not using any third party modules and my version of Prestashop is 1.2.5.
So far it's working good on the public part of my test installation, I have yet to test deeply the admin to see if there are any issues remaining.
- I had to remove the Jquery Interface plugins aswell as the prestashop patch for it. It is used for the transfer effect when you add a product to the shopping cart. I replaced it with JQueryUI's transfert effect (I'm just including effects core and tranfer so it won't overload the page with too muck kb, I also packed effects core).
- I updated idTabs to the latest version (the version used in Prestashop is very old and thus it is outdated.
- Finally I replaced that horrible Thickbox with the latest version of Colorbox.
I'm still testing but so far no problem on the public and admin part of the site. I'm not using any third party modules and my version of Prestashop is 1.2.5.
#8 Guest__*
Posted 19 November 2009 - 03:18 AM
I am actually against using both (new and old) versions of jQuery. It's not the sense of light-weight. But I am struggling for using the updated jQuery 1.3.2 to have the great effects and unfortunately tried with no luck. I am pretty sure I miss something. Can anyone guide me? I'll be grateful.
[update] If this is needed, you may want to support my feature request. Cheers!
[update] If this is needed, you may want to support my feature request. Cheers!
#9 Guest__*
Posted 19 November 2009 - 09:42 AM
Well, the usage of jquery generally ensure a good compatibility between browsers and allows to create lighter javascript modules with less reduntant code. So at the end I believe if you use jquery for all the scripts on the site you get a lighter and lot more modular code.
Prestashop is not the definition of lightweight anyway (ie: look at smarty and all libs...). :)
Prestashop is not the definition of lightweight anyway (ie: look at smarty and all libs...). :)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











