date_field_countdown
Categories
Component ID
2696119
Component name
date_field_countdown
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
About
Field Date Countdown
Drupal 7 Module to format date fields using jQuery Countdown library
jQuery Countdown library: https://github.com/martinaglv/jQuery-Countdown
Installation
Dependencies
Install Instructions
Choose jQuery Countdown library or TimeCircles library.
jQuery Countdown library (not recommended)
This library has a bug, when "days" is bigger than 100, only show last 2 digits in "days".
- Download the jQuery Countdown library from http://tutorialzine.com/2011/12/countdown-jquery/ or https://github.com/martinaglv/jQuery-Countdown
- Unzip the file
- Put directory assets/countdown in a libraries directory
- Ex: sites/all/libraries
- The following files are required:
- jquery.countdown.js
- jquery.countdown.css
- Ensure you have a valid path similar to this one for all files:
- Ex: sites/all/libraries/countdown/jquery.countdown.js
TimeCircles library (recommended)
- Clone or Download the jQuery Countdown library from https://github.com/wimbarelds/TimeCircles
- Unzip the file
- Put directory in a libraries directory
- Ex: sites/all/libraries
- The following files are required:
- package.json (for version checking)
- inc/TimeCircles.js
- inc/TimeCircles.css
- Ensure you have a valid path similar to this one for all files:
- Ex: sites/all/libraries/TimeCircles/TimeCircles.js
That's it!
