Really simple question, I know, but I don’t know where to look in EE1.
I need to downgrade my version of jQuery to fix a bug in the Structure module. Where would I find the jQuery file?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
January 25, 2011 2:29pm
Subscribe [3]#1 / Jan 25, 2011 2:29pm
Really simple question, I know, but I don’t know where to look in EE1.
I need to downgrade my version of jQuery to fix a bug in the Structure module. Where would I find the jQuery file?
#2 / Jan 25, 2011 4:15pm
Hi Unifusion. If you are talking about the jQuery for the control panel extension, I think it actually requests jQuery from the Google ajax api. Take a look at /system/extensions/ext.cp_jquery.php and you should see the following (around line 50?):
$settings['jquery_src'] = 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js';
$settings['jquery_ui_src'] = 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js';You may be able to change those URLs the versions you want. Check out this page for a list of the versions available: http://code.google.com/apis/libraries/devguide.html
I hope that helps. 😊
#3 / Jan 25, 2011 6:03pm
Yup, that looks about right. I’ve only ever had to do this in EE2, so the EE1 layout’s got me all messed up. Thanks Aaron!
#4 / Jan 25, 2011 6:07pm
No problem Unifusion. 😊 Glad I could help!
UPDATE 01/28/2011:
Hi Unifusion,
I was thinking about this thread today and realized that you don’t actually need to hack the the extension, you can just edit the library paths from the Control Panel! Just navigate to:
Admin->Utilities->jQuery for the Control Panel->Settings
#5 / Jan 26, 2011 9:40am
Thanks for the assist, Aaron.
Unifusion, Don’t hesitate to post again as needed.