You are here

README.txt in jQuery World Calendars API 3.x

Same filename and directory in other branches
  1. 7 README.txt
Description
===========
Brings jQuery World Calendars API to Drupal. The module doesn't do much on its own unless you're developer.
To see what languages and calendar systems are supported by the module, visit the demo page admin/config/user-interface/jquery-calendar/demo

Requirements
============
 - jQuery Calendars library (http://keith-wood.name/calendars.html)
   Accessible via sites/all/libraries/jquery.calendars

Installation (Auto - Recommended)
============
 If you're using Drupal's recommended composer template, you can  install this module alongside its required library
 using: composer require drupal/jquery_calendar
 But before doing it add the following code to your drupal composer.json
 ```
     "extra": {
         "merge-plugin": {
             "include": [
                 "web/modules/contrib/*/composer.json"
             ],
             "recurse": true
         }
     }
 ```
 and run this: composer require wikimedia/composer-merge-plugin

Installation (Manual)
============
 - Download and install Libraries API module as usual.
 - Download jQuery Calendars library from (http://keith-wood.name/calendars.html) and put it in sites/all/libraries/jquery.calendars
 - Enable jQuery Calendar API module
 - Goto admin/config/user-interface/jquery-calendar

API Usage
=========
Please see components section below for all available options, here is an API usage example used in the module itself:
  <?php
    jquery_calendar_add('picker, hebrew, persian, taiwan, thai, islamic, ethiopian, coptic, mayan', 'hebrew-he, persian-fa, gregorian-fr', 'smoothness', 'pack');
  ?>

Available Components
====================
  Library
  =======
   - base: base calendar support.
   - plus: additional features, date parsing, formatting, etc.
   - picker: datepicker with full calendar support and localisation.
   - picker.ext: datepicker extensions.
   - validation: validation plugin support for the datepicker.
   - lang: contains all Gregorian calendar locales.
   - picker.lang: contains all datepicker locales.

  Calendar Implementations
  ========================
   - Gregorian
   - Hebrew
   - Persian
   - Taiwan
   - Thai
   - Julian
   - Islamic
   - Ethiopian
   - Coptic
   - Mayan
   - Discworld
   - Nanakshahi
   - Nepali
   - Ummalqura

  Themes
  ======
  jQuery UI themes will be supported soon.
   - Flora
   - Redmond
   - Humanity
   - Smoothness
   - jQuery Default

  Locales
  =======
   - Many! As per documented in code.

Author and Maintainer
=====================
Sina Salek (http://drupal.org/user/52244)

File

README.txt
View source
  1. Description
  2. ===========
  3. Brings jQuery World Calendars API to Drupal. The module doesn't do much on its own unless you're developer.
  4. To see what languages and calendar systems are supported by the module, visit the demo page admin/config/user-interface/jquery-calendar/demo
  5. Requirements
  6. ============
  7. - jQuery Calendars library (http://keith-wood.name/calendars.html)
  8. Accessible via sites/all/libraries/jquery.calendars
  9. Installation (Auto - Recommended)
  10. ============
  11. If you're using Drupal's recommended composer template, you can install this module alongside its required library
  12. using: composer require drupal/jquery_calendar
  13. But before doing it add the following code to your drupal composer.json
  14. ```
  15. "extra": {
  16. "merge-plugin": {
  17. "include": [
  18. "web/modules/contrib/*/composer.json"
  19. ],
  20. "recurse": true
  21. }
  22. }
  23. ```
  24. and run this: composer require wikimedia/composer-merge-plugin
  25. Installation (Manual)
  26. ============
  27. - Download and install Libraries API module as usual.
  28. - Download jQuery Calendars library from (http://keith-wood.name/calendars.html) and put it in sites/all/libraries/jquery.calendars
  29. - Enable jQuery Calendar API module
  30. - Goto admin/config/user-interface/jquery-calendar
  31. API Usage
  32. =========
  33. Please see components section below for all available options, here is an API usage example used in the module itself:
  34. jquery_calendar_add('picker, hebrew, persian, taiwan, thai, islamic, ethiopian, coptic, mayan', 'hebrew-he, persian-fa, gregorian-fr', 'smoothness', 'pack');
  35. ?>
  36. Available Components
  37. ====================
  38. Library
  39. =======
  40. - base: base calendar support.
  41. - plus: additional features, date parsing, formatting, etc.
  42. - picker: datepicker with full calendar support and localisation.
  43. - picker.ext: datepicker extensions.
  44. - validation: validation plugin support for the datepicker.
  45. - lang: contains all Gregorian calendar locales.
  46. - picker.lang: contains all datepicker locales.
  47. Calendar Implementations
  48. ========================
  49. - Gregorian
  50. - Hebrew
  51. - Persian
  52. - Taiwan
  53. - Thai
  54. - Julian
  55. - Islamic
  56. - Ethiopian
  57. - Coptic
  58. - Mayan
  59. - Discworld
  60. - Nanakshahi
  61. - Nepali
  62. - Ummalqura
  63. Themes
  64. ======
  65. jQuery UI themes will be supported soon.
  66. - Flora
  67. - Redmond
  68. - Humanity
  69. - Smoothness
  70. - jQuery Default
  71. Locales
  72. =======
  73. - Many! As per documented in code.
  74. Author and Maintainer
  75. =====================
  76. Sina Salek (http://drupal.org/user/52244)