sha Posted May 1, 2009 Share Posted May 1, 2009 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.adaptavist.com/display/~mgibson/Using+multiple+versions+of+javascript+libraries ) Link to comment Share on other sites More sharing options...
babyewok Posted July 2, 2009 Share Posted July 2, 2009 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? Link to comment Share on other sites More sharing options...
tomerg3 Posted July 2, 2009 Share Posted July 2, 2009 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. Link to comment Share on other sites More sharing options...
babyewok Posted July 3, 2009 Share Posted July 3, 2009 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! Link to comment Share on other sites More sharing options...
tomerg3 Posted July 3, 2009 Share Posted July 3, 2009 Cool, that's the best way, since you may be using additional modules that may be affected... Link to comment Share on other sites More sharing options...
sha Posted July 4, 2009 Author Share Posted July 4, 2009 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. Link to comment Share on other sites More sharing options...
pixemedia Posted November 18, 2009 Share Posted November 18, 2009 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. Link to comment Share on other sites More sharing options...
21846657 Posted November 19, 2009 Share Posted November 19, 2009 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! Link to comment Share on other sites More sharing options...
pixemedia Posted November 19, 2009 Share Posted November 19, 2009 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...). Link to comment Share on other sites More sharing options...
Recommended Posts