I am running around in circles trying to get the Jquery_ui module working. I have followed the instruction and downloaded the Jquery development bundle and extracted to jquery_ui/jquery_ui. However I still get the folowing error:

"Missing jQuery UI plug-in. Please download the jQuery UI development bundle and extract it to your jquery_ui module directory. See README.txt for more info. (Currently using jQuery UI Not found)"

Any help greatly appreciated (please bare in mind I am a Drupal novice).

Regards
TristanR

Comments

mfer’s picture

The directory should be jquery_ui/jquery.ui/

This subtle change will make a difference.

webchick’s picture

Status: Active » Fixed

Thanks, mfer. :)

TristanR’s picture

Ah thanks that has sorted it! I obviously had not been following the instructions closely enough ;-)

webchick’s picture

I wonder if it would be better for it to be jquery_ui so it matches the module folder name. I was going for jquery.ui since the download folder you get is called jquery.ui-1.5.2, and figured it'd be easier for people, but apparently not. :) I guess we can see if this comes up again.

mfer’s picture

I'll throw my name into the hat as someone who screwed this up initially (sometimes I don't read directions very well). Maybe an easier name for the folder would simply be ui?

webchick’s picture

Title: Help installing please » Come up with better jquery UI folder naming convention
Category: support » bug
Status: Fixed » Active

Options:
- jquery_ui
- ui
- figure it out automagically using dark magick and voodoo?

My preference would be the third, but I'm not 100% clear on how we would do that. :) Maybe check for a folder that has "version.txt" in it?

mfer’s picture

We could look for ui.core.js. Or, we could take a page out of the jquery_update module by plugging into hook_flush_caches(), detect the folder, and store it in a variable. Then we could search for more than version.txt. Maybe some combination of version.txt and ui.core.js. Or, I could just be going a little overboard.

I like the idea of having it automated.

mfer’s picture

We could use file_scan_directory to locate a file and then pull the directory from the returned filename parameter.

webchick’s picture

Anyone up for rolling a patch? I'm not sure when I will get to this. file_scan_directory() sounds good.

mfer’s picture

I can roll a patch but it might be a few days.

avpaderno’s picture

I packed the module with the files it needs. You can find the file here.

portait’s picture

Please can someone pack the module with the files again. The one from Kiam@avpnet.org is a dead link.
I have been trying to install that module for an hour now with no luck. Of course I have followed the instructions and unpacked the bundle into "jquery.ui". This didn't help. I am still getting this error: Missing jQuery UI plug-in. Please download the jQuery UI development bundle and extract it to your jquery_ui module directory.

Maybe you should write in the instructions where all files and folders have to reside.

avpaderno’s picture

I checked out the link given in my web site, and it works.
To be sure to have the updated link, check the blog page titled jQuery UI Ready for Use.

portait’s picture

My problem is resolved now. I managed to download the wrong file.
Thanks

webchick’s picture

I had to download this module again earlier today and noted that the new version of jQuery UI puts files in just a folder called just "ui". If we kept the same naming convention, we could just drag and drop the files in, which would be very nice.

webchick’s picture

Status: Active » Needs review
StatusFileSize
new3.14 KB

Here's the patch.

Of course, if we do it this way, we'll end up breaking all existing jQuery UI module installations. :P~ But this is what would've made the most sense to me coming into this with a relatively "fresh" set of eyes.

mfer’s picture

No chance to actually test this, yet. But, looking the patch over it looks good. The naming change makes sense to me.

zzolo’s picture

I would also like to suggest, if the black-magic approach is not taken, that better instructions be provided. I do not claim to be that skilled, but I just lost a good half-hour to installing this module.

It took me a long time to figure out that I had to rename the "development-bundle" folder that is included in the downloaded package to "jquery.ui". There are things that elude to this in the instructions but it is not that explicit in my opinion.

Most modules that need third party libraries, expect the user to un-package everything, and it just finds what it needs in a specific spot. Or even a little better, would be to be able to choose the directory. Also, other successful examples of this, include a sample of what the directory structure will look like when done.

Wonderful work, as always. Thank you for the wonderful module.

--
zzolo

sun’s picture

Status: Needs review » Closed (duplicate)

Marking as duplicate of #489140: Libraries API. Please search for existing issues before submitting a new one. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.

However, thanks for taking the time to report this issue.

Skelly1983’s picture

thanx this worked for me

stompersly’s picture

After hours of doing everything suggested, I finally solved this. Apparently several other modules also include Jquery UI and they will interfere with finding the version you install this way. For me the solution was to turn off Backup Migrate and remove its directory then this worked fine.

miniwebs2’s picture

Have FINALLY unpacked all files into correct folders - haven't worked out jquery as yet BUT I've got rid of the messages about plug-ins not being installed etc.
Here's what my system now looks like.
Downloaded and installed the jquery.ui module from Drupal modules, installed it and attempted activation (error message received) THEN downloaded the jquery 1.7 zip pack from jquery.com and installed as below INTO a "handmade" jquery.ui folder (dot) within the jquery_ui folder (underscore)

sites / all / modules
sites / all / modules / jquery_ui / (must be an underscore)
sites / all / modules / jquery_ui / changelog (file)
sites / all / modules / jquery_ui / jqueri_ui (file)
sites / all / modules / jquery_ui / jquery_ui.install (file)
sites / all / modules / jquery_ui / other files....

sites / all / modules / jquery_ui / jquery.ui / (must be a dot.ui)
sites / all / modules / jquery_ui / jquery.ui / demos /
sites / all / modules / jquery_ui / jquery.ui / docs /
sites / all / modules / jquery_ui / jquery.ui / external / l
sites / all / modules / jquery_ui / jquery.ui / themes / ....etc

sites / all / modules / jquery_ui / jquery_plugin / (lots of .min files in here)

Hope this helps anyone else at least get the files sorted!

Now.... what next?????