Commit 04d7193d authored by RobLoach's avatar RobLoach
Browse files

#362509 by Rob Loach, Deciphered, sun and adrinux: New release system with jQuery UI 1.6.

parent 255ec0c2
......@@ -6,6 +6,7 @@ jQuery UI x.x-x.x, xxxx-xx-xx
jQuery UI 6.x-1.x, xxxx-xx-xx
-----------------------------
#362509 by Rob Loach, Deciphered, sun and adrinux: New release system with jQuery UI 1.6.
#322731 by sun: Fixed improper use of t() in module install file.
#227687 by sun: Fixed improperly capitalized package name.
......
......@@ -29,11 +29,11 @@ on its own.
INSTALLATION
------------
1. Copy the jquery_ui module directory to your sites/SITENAME/modules
directory.
1. Copy the jquery_ui module directory to your sites/all/modules directory.
2. Download the "Development bundle" of jQuery UI from
http://ui.jquery.com/download.
2. Download the latest jQuery 1.6 development package from:
http://code.google.com/p/jquery-ui/downloads/list?can=3&q=1.6
3. Extract it as a sub-directory called 'jquery.ui' in the jquery_ui folder:
......@@ -42,6 +42,26 @@ INSTALLATION
4. Enable the module at Administer >> Site building >> Modules.
JQUERY UI 1.7
-------------
The jQuery UI module uses jQuery UI 1.6 because jQuery UI 1.7 requires at least
jQuery 1.3, which is not shipped with Drupal 6. If you absolutely need to move
to jQuery UI 1.7, you can get around this by doing the following:
1. Install the jQuery Update module appropriately from:
http://drupal.org/project/jquery_update
2. Download the latest jQuery UI 1.7 development package from:
http://code.google.com/p/jquery-ui/downloads/list?can=3&q=1.7
3. Replace the old jQuery UI folder with the 1.7 package at:
/sites/all/modules/jquery_ui/jquery.ui/
API
---
......
......@@ -3,4 +3,3 @@ name = jQuery UI
description = Provides the jQuery UI plug-in to other Drupal modules.
package = User interface
core = 6.x
dependencies[] = jquery_update
......@@ -29,7 +29,9 @@ function jquery_ui_requirements($phase) {
else {
// Required library wasn't found. Abort installation.
$requirements['jquery_ui']['value'] = $t('Not found');
$requirements['jquery_ui']['description'] = $t('Missing jQuery UI plug-in. Please !download and extract it to your jquery_ui module directory. See README.txt for more info.', array('!download' => l($t('download the jQuery UI development bundle'), 'http://ui.jquery.com/download')));
// Provide a download link to the jQuery UI development bundle. The provided
// link will list the latest 1.6.x build.
$requirements['jquery_ui']['description'] = $t('The <a href="@jqueryui">jQuery UI</a> plugin is missing. <a href="@download">Download</a> and extract it to your <em>jquery_ui</em> module directory. See <a href="@readme">README.txt</a> for more info.', array('@jqueryui' => 'http://jqueryui.com', '@download' => 'http://code.google.com/p/jquery-ui/downloads/list?can=3&q=1.6', '@readme' => url(drupal_get_path('module', 'jquery_ui') .'/README.txt')));
$requirements['jquery_ui']['severity'] = REQUIREMENT_ERROR;
}
......
......@@ -14,7 +14,7 @@
* Path to jQuery UI library.
*/
define('JQUERY_UI_PATH', drupal_get_path('module', 'jquery_ui') . '/jquery.ui');
/**
* Add the specified jQuery UI library files to this page.
*
......@@ -49,7 +49,7 @@ function jquery_ui_add($files = array()) {
$effects_core = TRUE;
jquery_ui_add(array('effects.core'));
}
// Load other files.
if (!isset($loaded_files[$file])) {
switch ($compression) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment