Jump to content

Updating Jquery to 1.3.2


Recommended Posts

  • 2 months later...

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

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

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

  • 4 months later...

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

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

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

×
×
  • Create New...