Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nikos Kapatos
Manually jQuery update to 1.3.2
October 10, 2009 1:39 AM
Answer

Nikos Kapatos

Rank: Junior Member

Posts: 57

Join Date: November 11, 2008

Recent Posts

Hello

Anyone knows if there is a problem to manually update jQuery to version 1.3.2?

I did it cause some things I made had to use this version and so far the rest of the liferay stuff seems to work ok, but because I can;t check everything if it is ok I was wondering if anyone ever tried it and found any problem or knows what changes must be done in the jQuery.js or the rest of the files to ensure that everything will be ok.

Thanx
Rautureau Jérôme
RE: Manually jQuery update to 1.3.2
October 21, 2009 1:26 PM
Answer

Rautureau Jérôme

Rank: New Member

Posts: 23

Join Date: February 22, 2008

Recent Posts

How did you update the jquery librair(y)(ies?) on liferay ?

Have you discovered some problems ?

See ya

Jérôme
Nikos Kapatos
RE: Manually jQuery update to 1.3.2
October 22, 2009 2:40 AM
Answer

Nikos Kapatos

Rank: Junior Member

Posts: 57

Join Date: November 11, 2008

Recent Posts

in root\html\js\jquery they got the jquery library with some plugins too.

I tried to change the jquery.js only. The scripts I wrote using the 1.3.2 worked ok but liferay didn't. I suppose that happens because It needs to update or made some changes for the plugins too.

I haven't tried it yet cause without documentation (big news) is hard to find what is wrong or what it has to be changed for everything to work perfectly.

Honestly I would prefer liferay to not bind jquery or any other js library/framework for its platform and not letting u to use whatever u like.

EDIT: It has problems btw. The drag n drop doesn't work and some other details I randomly found and decided to revert to the original hquery liferay had
Rautureau Jérôme
RE: Manually jQuery update to 1.3.2
October 22, 2009 3:45 AM
Answer

Rautureau Jérôme

Rank: New Member

Posts: 23

Join Date: February 22, 2008

Recent Posts

Same for me

I've upgrade jquery to 1.3.2 version (because we wanted to use the performance improvements of the 1.3.x branch) and all worked except the drag and drop feature.

I have updated the jquery UI components (effects, drag and drop and so one) to version 1.7.2 but without any success....

Maybe we will have to wait the first release or the 5.3.x branch of liferay...

http://issues.liferay.com/browse/LPS-1859

Thanks for the update
Camilo Aguilar
RE: Manually jQuery update to 1.3.2
November 5, 2009 7:18 AM
Answer

Camilo Aguilar

Rank: New Member

Posts: 9

Join Date: July 20, 2009

Recent Posts

the same for me too.

in layout.js, when I try added a portlet to my page I have an error.
1
2_onReceive: function(event, ui) {
3    var instance = this;
4
5    if (ui.element[0].className.indexOf('empty') > -1) {
6      ui.element.removeClass('empty');
7    }
8 },


ui.element is undefined

Another issue happen when I drag popups, they disappears until I drop them.

It's really useful if we can upgrade to jquery 1.3.2 because its performance improvements.
Andrey Urvancev
RE: Manually jQuery update to 1.3.2
November 11, 2009 9:12 AM
Answer

Andrey Urvancev

Rank: Junior Member

Posts: 88

Join Date: June 10, 2009

Recent Posts

Anyone solve this problem?
Rautureau Jérôme
RE: Manually jQuery update to 1.3.2
November 25, 2009 10:54 PM
Answer

Rautureau Jérôme

Rank: New Member

Posts: 23

Join Date: February 22, 2008

Recent Posts

Still no one ?
artur versiani varella
RE: Manually jQuery update to 1.3.2
December 18, 2009 11:16 AM
Answer

artur versiani varella

Rank: New Member

Posts: 10

Join Date: September 11, 2009

Recent Posts

Hi all,

haven't had any problems when updated all javascripts: core, ui.*, effects.* and interactions.*

cheers.
Rautureau Jérôme
RE: Manually jQuery update to 1.3.2
February 3, 2010 10:45 PM
Answer

Rautureau Jérôme

Rank: New Member

Posts: 23

Join Date: February 22, 2008

Recent Posts

Hi,

Can you post the javascript folder in order to test the upgrade ?

Do you feel a reel difference since you have upgrade to jquery 1.3.2 ?

Have you upgrade jquery to the latest : 1.4 ?

See ya
Thibault Griez
RE: Manually jQuery update to 1.3.2
February 4, 2010 1:59 AM
Answer

Thibault Griez

Rank: New Member

Posts: 4

Join Date: February 4, 2010

Recent Posts

Hi,

To upgrade to the latest version of jQuery, you need to upgrade:

- the main jquery.js file
- all the jQuery UI files
- change all references to ui.element to "jQuery(this)" inside the liferay/layout/js

Everything should be working afterward,

Cheers,

Thibault
Rautureau Jérôme
RE: Manually jQuery update to 1.3.2
February 20, 2010 4:55 AM
Answer

Rautureau Jérôme

Rank: New Member

Posts: 23

Join Date: February 22, 2008

Recent Posts

Hi!

Thank you for your post ! It chears me up ! ;)

can you post in this forum all the javascript files of your installation ?

It would be great...

Jquery has been updated with a lot of improvements !

http://ajaxian.com/archives/jquery-1-4-2-performance-and-a-few-apis

thank you in advance.

Waiting for your post...
Juanjo Hernández Cánovas
RE: Manually jQuery update to 1.3.2
April 19, 2010 12:20 AM
Answer

Juanjo Hernández Cánovas

Rank: Regular Member

Posts: 174

Join Date: August 11, 2008

Recent Posts

Hello to Everybody!

Good news for me too, Anyone could explain step by step all the things I must do to update jQuery in Liferay 5.2.3

Thanks in advance,

Greetings,

Juanjo.
Alejandro Rojas
RE: Manually jQuery update to 1.3.2
April 22, 2010 6:38 AM
Answer

Alejandro Rojas

Rank: New Member

Posts: 6

Join Date: March 30, 2010

Recent Posts

Hi community !

Could you explain a little more step by step, with these instructions could not solve the problem. Sure thing I'm doing wrong.
Sorry about my english.
Thanks !
Maarten van Heiningen
RE: Manually jQuery update to 1.3.2
May 12, 2010 3:19 AM
Answer

Maarten van Heiningen

Rank: Regular Member

Posts: 170

Join Date: February 5, 2009

Recent Posts

Hi Thibault,

What did you do in the liferay/layout.js that made it work?

I'm upgrading to jQuery 1.4 and UI 1.8.1

Thibault Griez:

- the main jquery.js file
- all the jQuery UI files
- change all references to ui.element to "jQuery(this)" inside the liferay/layout/js


Thanks,
Maarten
Marco Volpe
RE: Manually jQuery update to 1.3.2
September 3, 2010 7:20 AM
Answer

Marco Volpe

Rank: New Member

Posts: 10

Join Date: December 23, 2008

Recent Posts

Hi!

I've Liferay Portal v. 5.1.2 and I've done changes to jQuery 1.4.2 and jquery Ui 1.8.4
But I still have the same error layout.js

"jQuery(this)[0] is undefined" inside __onReceive method
Jörg Halitschke
RE: Manually jQuery update to 1.3.2
June 1, 2012 1:14 AM
Answer

Jörg Halitschke

Rank: New Member

Posts: 17

Join Date: February 14, 2009

Recent Posts

Found some advice in the Spanish forum:
http://www.liferay.com/web/julio.camarero/blog/-/blogs/can-i-have-different-jquery-versions-in-liferay-

Maybe useful, even it's not an update.