Με το νέο update στο module dates όσοι θα το χρησιμοποιείτε θα παρατηρήσετε ότι τώρα πλέον υποχρεωτικά πρέπει να εγκατασταθεί το jquery_ui.
Οπότε:
1) κατεβάζω το module jquery_ui, διαβάζω τις οδηγίες (reademe)
2) δημιουργώ ένα δεύτερο jquery_ui folder όπου βάζω το jquery
το library όμως ψάχνω και δεν μπορώ να το βρώ πουθενά.
Μήπως μπορεί να δώσει κάποιος hint?
Στο readme δινει το λινκ και την διαδικασια εγκαταστασης
http://code.google.com/p/jquery-ui/downloads/list?q=1.6
Δεν ξέρω αν το έλυσες μετά από τόσο καιρό, ποστάρω αυτό το Link για να το δει ο κόσμος που το ψάχνει.
Εγώ μετά από πολλές μέρες ακολούθησα αυτά για να δουλέψει:
I hope someone will benefit from this guide, and save a lot more time than I did
Ok, so once I had to use the fantastic jQuery UI plugin for jQuery in a Drupal 6 project, I had a hell of a time getting it to work. Eventually I did it with the help of information from three different web pages. This guide will tell you everything you need to do in order to get jQuery UI working in Drupal:
Install the jQuery Update Drupal module (You need jQuery version 1.3+ for jQuery UI, which doesn’t come standard in Drupal 6)
Install the jQuery UI Drupal module
Create a folder named ‘jquery.ui’ in the ‘jQuery UI’ module folder ([your_drupal_directory]/sites/all/modules/jquery_ui/)
Download jQuery UI 1.7.3 (NOTE: Not the latest version!) from the jQuery UI home page via this link or, if that doesnt work, my mirror of it
Unzip the jQuery UI you just downloaded
Upload/Copy everything from ‘jquery-ui-1.7.3.custom/development-bundle’ to ‘/sites/all/modules/jquery_ui/jquery.ui’
Your ‘jquery.ui’ folder sohuld now contain the following files/folders:
AUTHORS.txt
demos
docs
external
GPL-LICENSE.txt
jquery-1.3.2.js
MIT-LICENSE.txt
themes
ui
version.txt
Your ui folder should now contain two folder and a whole lot of *.js files
Upload/Copy ‘jquery-ui-1.7.3.custom/css’ to ‘jquery.ui/css’ (So copy/upload the entire css folder)
Now, go to your theme folder (/sites/all/themes/[your_theme_name]) (the themes can also reside in your site directory, but ‘all’ is more common)
In your theme folder, locate the file ‘template.php’. In this file, add these three lines anywhere outside any of the functions (I added them right after the comments in the top of the file):
drupal_add_js('sites/all/modules/jquery_ui/jquery.ui/js/jquery-ui-1.7.3.custom.min.js');
drupal_add_js('sites/all/modules/jquery_ui/jquery.ui/ui/ui.core.js');
drupal_add_css('sites/all/modules/jquery_ui/jquery.ui/themes/base/ui.all.css');
Now, your jQuery UI is ready to play nice with Drupal! (NOTE: A word of warning: Remember you have the 1.7.3 version of jquery UI, not the latest, so find the documentation for your version in your downloaded development-bundle/docs folder.
Test your new jquery ui out:
- Add this line to your page.tpl.php file’s section:
- And add this line to your drupal-specific document.ready function:
$(“#datepicker”).datepicker();
You should now see a datepicker nice and cute on your drupal front page.
Πηγή: http://blog.houen.net/drupal-jquery-ui-complete-guide/