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)
View source
- 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:
-
- 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)