Hi
Here is a corrected INSTALLATION section for jQuery UI module's README.txt:
INSTALLATION
------------
- Copy the jquery_ui module directory to your sites/all/modules directory.
- Download the "all components" of jQuery UI from:
http://ui.jquery.com/download/ - Create a subdirectory called 'tmp' and extract download within it.
/sites/all/modules/jquery_ui/tmp/ - Move the extracted subdirectory 'development-bundle' out of subdirectory 'tmp', into jquery_ui.
/sites/all/modules/jquery_ui/development-bundle/ - Rename "development-bundle" to "jquery.ui":
/sites/all/modules/jquery_ui/jquery.ui/ - Enable the module at Administer >> Site building >> Modules.
- Check status report to assure module is loaded correctly the module at Administer.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | README.txt | 2.12 KB | jeff00seattle |
Comments
Comment #1
jeff00seattle commentedAttached is corrected README.txt file.
What concerns me is if we should also include the files within extracted jquery-ui-1.7.1.custom.zip download subdirectory 'js' which include:
Comment #2
beginner commentedSee also: #434960: jquery_update dependency
Comment #3
beginner commentedSee #374329: Documentation on how to include jquery ui plugin for use in themes/modules does not appear to work
Comment #4
beginner commentedAlso, README mentions nothing about jquery_ui themes that are downloaded together with jquery_ui itself.
To make it work, I added the following line to my module:
This means obviously that the theme is hard coded into my module!
Comment #5
dejamuse commentedI found I couldn't enable the module until I put all the .js scripts from /development-bundle/ui into the /jquery.ui folder:
Get the latest (stable) file from: here. The link is at the top of the page for the "Quick download" containing all of the scripts. Alternatively you can select which scripts you want to include, then build and download the custom zip file, on the right side of the page.
The readme says to create the directory structure:
/sites/all/modules/jquery_ui/jquery.ui//jquery_uiis created by installing the Drupal module. Put the contents of the 'ui' directory from the downloaded and extracted file above, into/jquery.uiNote the "." in the 2nd as opposed to the underscore in the first. So, the contents of the 'ui' folder from the zip file are all the various .js scripts that want to live in
/jquery.uiAfter I did this, the module enabled ok.
It's also dependent on the 'jquery update' module as mentioned in the module list on your site.
Comment #7
ecube85 commentedI am still unable to enable the jquery ui checkbox in modules page. I followed all the steps provided here and still it doesnot work. What can be the problem??
Comment #8
robloach#362509: New jQuery UI release system
Comment #9
dasTEO commentedHello,
I had also much trouble to activate the module jQuery UI. Reading README.txt again and again. Do the install progcedure again and again. Check the firectories and files. It seemed hopeless.
One hint I'd found was to edit the 'sites/all/modules/jquery_ui/jquery_ui.install'. And this was the only way to activate the module.
Search for...
if ($jquery_ui_version = jquery_ui_get_version()) {
and replace it with...
if ($jquery_ui_version == jquery_ui_get_version()) {
In the first version the single equal operator doesn't compare the values but make a assignment. So the installer obviously can't activate the module. A lot of you have the same problem. With this workaround life will be easier (for a short time).