Hi there,
For some reason we need to use latest version of jQuery and jQuery UI libraries, but unfortunately for this we need to change a some files in core. So do you planning to update jQuery libraries in a newest versions of Elgg? And also may be need to add possibility to override version of jQuery from plugins!?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
I've tried to update jQuery to 1.9.0 and jQuery UI to 1.10.0 but get more issues.
Just jQuery v1.8.3 and jQuery UI v1.8.23 works fine
You should be able to overwrite it from plugin using elgg_register_js for the same library name and providing different path to jQuery with desired version.
See this using jquery cdn on elgg websites.
We are using the google cdn in many elgg sites (1.8.3 an 1.8.16). Working fine in all installs
What is verdict? Is there a plan to upgrade the jquery/jqueryui files? I tried upgrading to latest on 1.8.12 but got a tone of errors.
@gluck Try it: https://github.com/mapkyca/elgg-jquery
@RvR : Thanks, have you tried it? Does it contain backward compatibility?
@ Mohammed Aqeel THe Jquery cdn on elgg websites works fine but it has issues with hypealive plugin or HypeFramework. Do you have the same issues after using your suggestion?
@gluck Didn't
@Tom : We haven't tested with those plugins. So cant give you an answer. The errors we found were mostly with the deprecated live() API when upgrading to latest versions of jQuery.
Ok guys, I tried upgrading and had a ton of issues pertaining to .live(). Would any of these solutions work?
1. Replacing all .live() with .on(). I haven't done it yet and not what else shall break?
2. Is there a way I could unregister the core jquery for the page I need the latest jquery and then reactivate it for other pages? When I do this on a plugin it breaks the other functionality, I was wondering if I could do this on a per page basis.
- Previous
- 1
- 2
- Next
You must log in to post replies.