I have managed to install the jQuery module with jQuery update and jQuery Carousel. I have tried creating a carousel in views but it is working incorrectly so I looked at my recent log entries and I am getting the error "page not found" http://test.com/sites/default/modules/jquery_ui/jquery.ui/ui/minified/ui.... I have changed my jQuery update settings to minified instead of packed as I read that may help, to no avail. I am using drupal 6.16 and jQuery 1.7.2 (as the 1.6 version wasn't available from the jQuery UI read me text link, although I have since found a link to it in another post).
Does anyone have any idea as to what may be happening, any advice would be greatly appreciated

CommentFileSizeAuthor
#7 jquery_ui_patch.txt1.13 KBbasvredeling

Comments

sailtexas’s picture

I'm having exectly the same problem, looking for a resolution, I'll share it if I find it : ) please do the same!

sailtexas’s picture

How about... http://drupal.org/node/578402 checking it out...

sailtexas’s picture

gillypots’s picture

I am having absolutely no joy in working out how to get this module working. From what I have read it is not as easy as just installing the module (which I didn't find particularly easy to begin with) and jQuery starts working, I gather theres some coding that needs doing also. I am using a sub-garland theme and I am not sure if I would need to create a js folder within my theme to start getting it to work and then start adding js script into my page.tpl.
After doing a bit of fiddling I have managed to get rid of the error from my log entries. I have changed the jQuery update module setting to none. This hasn't resolved my carousel, it displays no pictures, displays vertically and just has a "next/previous" links showing. Apparantly the carousel module is not a supported jQuery plug-in either if that info means anything to you.
I think all this coding may be beyond me, from the read me text on the jQuery UI module I haven't added this code as I don't know where to add it or whether its a neccesity:

In your module, call the following function:

jquery_ui_add($files);

For example:

jquery_ui_add(array('ui.draggable', 'ui.droppable', 'ui.sortable'));

jquery_ui_add('ui.sortable'); // For a single file

See the contents of the jquery.ui-X.X sub-directory for a list of available
files that may be included, and see http://ui.jquery.com/docs for details on
how to use them. The required ui.core file is automatically included, as is
effects.core if you include any effects files.

The combination of modules you need to use and setup seem very complex to me (but I am just a newbie), I would love to be able to get it to work as I am doing an ecommerce site and would love to have my products displaying in a carousel and from searching all the other modules that do similar things, this was the one most suited to my needs.

Keep me posted if you have any luck and I will battle on in the meantime and see if I can resolve anything.

:)

cybermache’s picture

I found that my PAGE NOT FOUND error was occurring because the file directory didn't exist (sort of). Under my minifed directory all files began with jquery. So it would be jquery.ui.core.min.js instead of simply ui.core.min.js. My solution was to create duplicates of all these files and remove the 'jquery.' from their titles. I didn't have the time or the patience to find the error in the code nor did I want to find out which files needed to be jquery. titled and which didn't. I needed something to work immediately and this seems to be a good enough solution for me. Hope it helps others.
This is my current file list under sites/all/modules/jquery_ui/jquery.ui/ui/minifed/

effects.blind.min.js
effects.bounce.min.js
effects.clip.min.js
effects.core.min.js
effects.drop.min.js
effects.explode.min.js
effects.fade.min.js
effects.fold.min.js
effects.highlight.min.js
effects.pulsate.min.js
effects.scale.min.js
effects.shake.min.js
effects.slide.min.js
effects.transfer.min.js
i18n
jquery-ui.min.js
jquery.effects.blind.min.js
jquery.effects.bounce.min.js
jquery.effects.clip.min.js
jquery.effects.core.min.js
jquery.effects.drop.min.js
jquery.effects.explode.min.js
jquery.effects.fade.min.js
jquery.effects.fold.min.js
jquery.effects.highlight.min.js
jquery.effects.pulsate.min.js
jquery.effects.scale.min.js
jquery.effects.shake.min.js
jquery.effects.slide.min.js
jquery.effects.transfer.min.js
jquery.ui.accordion.min.js
jquery.ui.autocomplete.min.js
jquery.ui.button.min.js
jquery.ui.core.min.js
jquery.ui.datepicker.min.js
jquery.ui.dialog.min.js
jquery.ui.draggable.min.js
jquery.ui.droppable.min.js
jquery.ui.mouse.min.js
jquery.ui.position.min.js
jquery.ui.progressbar.min.js
jquery.ui.resizable.min.js
jquery.ui.selectable.min.js
jquery.ui.slider.min.js
jquery.ui.sortable.min.js
jquery.ui.tabs.min.js
jquery.ui.widget.min.js
ui.accordion.min.js
ui.autocomplete.min.js
ui.button.min.js
ui.core.min.js
ui.datepicker.min.js
ui.dialog.min.js
ui.draggable.min.js
ui.droppable.min.js
ui.min.js
ui.mouse.min.js
ui.position.min.js
ui.progressbar.min.js
ui.resizable.min.js
ui.selectable.min.js
ui.slider.min.js
ui.sortable.min.js
ui.tabs.min.js
ui.widget.min.js

jmseigneur’s picture

Done the same as #5. However there are still a few .js starting with jquery in i18n directory and their names might have to be changed in a multilanguages site.

basvredeling’s picture

StatusFileSize
new1.13 KB

I think this only occurs with recent versions of the jquery ui library.
Use the attached patch to correct the paths when loading the jquery.ui lib files.

fyi: I'm using jquery ui 1.8.2 and the jquery update module.

LizD’s picture

Just went through the same issues when I updated jQuery. Here's the easiest way to fix things. Rather than change the module code add 'jquery.' to the beginning of the script name as they added jquery to the beginning of all ui scripts in v1.8.x so ui.tabs becomes jquery.ui.tabs

Do NOT add the .js at the end of the name. The module handles that for you.
Be sure to add the jquery.ui.core file to your list - as it may not get added automatically by the module because of the name change. Same for jquery.effects.core - if you are using any of the effects scripts.

Finally, you will also need to add jquery.ui.widget to your array as this script appears to be required for many (if not all) of the widgets.

so - to add the tabs widget you would call:

jquery_ui_add(array('jquery.ui.core','jquery.ui.widget','jquery.ui.tabs'));

basvredeling’s picture

@LizD It's a valid workaround. But what you are proposing implies that each and every contrib module using jquery_ui as dependency should be rewritten. Instead of just the jquery_ui module itself.

I'd like to make another suggestion for changing the code. perhaps we should do a version check on the library or a check on the filename format to determine how to call the files properly (with or without the jquery.* prefix).

Cabbit-sama’s picture

I cannot get this module to work to save my life. I simply do not know what I'm doing wrong. I am using drupal 6.17 and have the jquery_ui module in mysite.com/sites/all/modules/jquery_ui and am using jquery 1.6. in the jquery.ui sub-directory as listed in the instructions. I have tried renaming the files like listed in the above post in both the main directory and minified and I still get plugin is missing. would using the patch that was posted help? i have no idea how to patch anything with a txt file so any instructions would be appreciated if that is the case. I just don't know what to do next to get this thing working.

edit
ok the problem seemed to be with the jquery_update module that i had. i removed it completely and there was no problem since apparently it isn't necessary for drupal 6 anyways :) i just deleted everything and started fresh. i didn't have to rename any of the files from the 1.6 version that i had downloaded or anything.

neochief’s picture

Status: Active » Closed (duplicate)