Hi.

I installed jQuery.UI because of the dependencies to modules like Panels.InPlaceEditor.

Now in the admin->modules it seams all ok. The module jQuery.UI is enabled.

But in source it doesn't show up.

And when i try in firebug on page:
$.ui.version (or jQuery.ui.version) i get the message undefined.

My steps of installing (first i installed as the readme.txt suggested on using 1.7.3 with jQuery.update module installed). jQuery version active on site is 1.3.2 (from jquery.update module).
Then from another forum i followed the settings of installing jQuery.ui.1.7.3 into sites/all/libraries.
My directory tree:
- sites/all/modules/jquery_ui/
CHANGELOG.txt
css (from jQuery.1.7.3.custom.zip)
jquery.ui (from jQuery.1.7.3.zip)
jquery_ui.install
translations
LICENSE.txt
development-bundle (from jQuery.1.7.3.custom.zip)
jquery_ui.module
README.txt
index.html
jquery_ui.info
js (from jQuery.1.7.3.custom.zip)
- sites/all/modules/jquery_ui/jquery.ui
AUTHORS.txt
MIT-LICENSE.txt
docs
jquery-1.3.2.js
themes
version.txt
GPL-LICENSE.txt
demos
external
tests
- /sites/all/libraries/jquery.ui (contents from jQuery.1.7.3.zip)
AUTHORS.txt
GPL-LICENSE.txt
MIT-LICENSE.txt
demos
docs
external
jquery-1.3.2.js
tests
themes
ui
version.txt

It is very weared as module sais installed. But in source it doesn't show up.

Please help.

Comments

vojvotkinja’s picture

Hi, I have that problem too! Everything is installed but there is no included jquery.ui.js scripts in the source and so I can't use Image crop javascript module, it doesn't show any error just not showing any js features :S
Can someone please advise on this? I'm struggling 3 hours with this :/

adel-by’s picture

hi your module needs to include jquery ui files by calling "jquery_ui_add"
have a look at readme.txt at the end of the file

sctech’s picture

If you have surrendered to the point of reading this I feel for you. It took me about 4 hours to get here. Every time that you solve one piece of this another problem seem to crop up. If you want to skip all of the crap ahead and install jQuery ui 1.7.x , follow the link below and it will work. The paths are critical so make sure you have them right. BTW, don't try to upgrade to jQery ui version 1.8.x. It breaks stuff at this time.

If you use firebug you can test that the correct version on jQuery is being loaded by typing $().jquery in the console area and clicking the run button. You might have to reload the jquery_ui module or reset your cache to get it working.

Now I am off to finish coding my block so I can enjoy my nice stiff drink guilt free in a couple of hours.

Link: http://blog.houen.net/drupal-6-and-jquery-ui-complete-guide/

Don't forget to say thanks to Houen for saving your bacon.

nod_’s picture

Status: Active » Closed (outdated)

Version for Drupal 6 is not supported anymore, closing.