You are here

README.txt in jQuery Mobile module 7.2

Same filename and directory in other branches
  1. 6.3 README.txt
  2. 7 README.txt
Module: jQuery Mobile
Author: Jason Savino <http://drupal.org/user/411241>

Requirements
============
Libraries module http://drupal.org/project/libraries

Installation
============
Module
--------------------------------
  Copy the 'jquerymobile' module directory into your Drupal
  sites/all/modules directory as usual.

  Install the framework file using one of the two methods below

 * Manual Method
 1. create a folder in the 'sites/all' directory name 'libraries'

 2. create a folder in the newly create 'sites/all/libraries' directory
     named jquery-VERSION ex. jquery-1.6.4

 3. create a folder in the newly create 'sites/all/libraries' directory
     named jquery-mobile-VERSION ex. jquery-mobile-1.0.1

 4. download and extract minified and uncompressed version of
     the jquery framework version into the newly created
     'sites/all/libraries/jquery-VERSION' directory
     -Minified: http://code.jquery.com/jquery-1.6.4.min.js
     -Uncompressed: http://code.jquery.com/jquery-1.6.4.js

 5. download and extract the jquery mobile framework in the
     newly created 'sites/all/libraries/jquery-mobile-VERSION' directory
     -Stable: http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.zip

 * Drush Method
Using Drush, you can now download and extract the jquerymobile framework.

 1. To enable jquerymobile and install the framework files
     - drush en jquerymobile
 2. To install the framework files only (useful for updating the jquerymobile
    framework files)
     -  to download required libraries
        drush jquerymobile
     -- OR --
     -  to download required libraries while specifying the options
        drush jquerymobile --jqm=1.0.1 --jquery=1.6.4 --path=sites/all/libraries

Usage
=====

You can put the settings in your site's settings.php file if you choose.
**NOTE: Doing so will prevent changes from being made through the configuration
form.

Just copy, paste and modify the following:

$conf['jquerymobile_library_path'] = "sites/all/libraries";
$conf['jquerymobile_jquerymobile_version'] = "1.0.1";
$conf['jquerymobile_jquery_version'] = "1.6.4";
$conf['jquerymobile_minify'] = 1;
$conf['jquerymobile_mobile_themes'] = array("mobile_jquery" => "mobile_jquery");

File

README.txt
View source
  1. Module: jQuery Mobile
  2. Author: Jason Savino
  3. Requirements
  4. ============
  5. Libraries module http://drupal.org/project/libraries
  6. Installation
  7. ============
  8. Module
  9. --------------------------------
  10. Copy the 'jquerymobile' module directory into your Drupal
  11. sites/all/modules directory as usual.
  12. Install the framework file using one of the two methods below
  13. * Manual Method
  14. 1. create a folder in the 'sites/all' directory name 'libraries'
  15. 2. create a folder in the newly create 'sites/all/libraries' directory
  16. named jquery-VERSION ex. jquery-1.6.4
  17. 3. create a folder in the newly create 'sites/all/libraries' directory
  18. named jquery-mobile-VERSION ex. jquery-mobile-1.0.1
  19. 4. download and extract minified and uncompressed version of
  20. the jquery framework version into the newly created
  21. 'sites/all/libraries/jquery-VERSION' directory
  22. -Minified: http://code.jquery.com/jquery-1.6.4.min.js
  23. -Uncompressed: http://code.jquery.com/jquery-1.6.4.js
  24. 5. download and extract the jquery mobile framework in the
  25. newly created 'sites/all/libraries/jquery-mobile-VERSION' directory
  26. -Stable: http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.zip
  27. * Drush Method
  28. Using Drush, you can now download and extract the jquerymobile framework.
  29. 1. To enable jquerymobile and install the framework files
  30. - drush en jquerymobile
  31. 2. To install the framework files only (useful for updating the jquerymobile
  32. framework files)
  33. - to download required libraries
  34. drush jquerymobile
  35. -- OR --
  36. - to download required libraries while specifying the options
  37. drush jquerymobile --jqm=1.0.1 --jquery=1.6.4 --path=sites/all/libraries
  38. Usage
  39. =====
  40. You can put the settings in your site's settings.php file if you choose.
  41. **NOTE: Doing so will prevent changes from being made through the configuration
  42. form.
  43. Just copy, paste and modify the following:
  44. $conf['jquerymobile_library_path'] = "sites/all/libraries";
  45. $conf['jquerymobile_jquerymobile_version'] = "1.0.1";
  46. $conf['jquerymobile_jquery_version'] = "1.6.4";
  47. $conf['jquerymobile_minify'] = 1;
  48. $conf['jquerymobile_mobile_themes'] = array("mobile_jquery" => "mobile_jquery");