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".

  1. Download the jQuery Countdown library from http://tutorialzine.com/2011/12/countdown-jquery/ or https://github.com/martinaglv/jQuery-Countdown
  2. Unzip the file
  3. Put directory assets/countdown in a libraries directory
    • Ex: sites/all/libraries
  4. The following files are required:
    • jquery.countdown.js
    • jquery.countdown.css
  5. Ensure you have a valid path similar to this one for all files:
    • Ex: sites/all/libraries/countdown/jquery.countdown.js

TimeCircles library (recommended)

  1. Clone or Download the jQuery Countdown library from https://github.com/wimbarelds/TimeCircles
  2. Unzip the file
  3. Put directory in a libraries directory
    • Ex: sites/all/libraries
  4. The following files are required:
    • package.json (for version checking)
    • inc/TimeCircles.js
    • inc/TimeCircles.css
  5. Ensure you have a valid path similar to this one for all files:
    • Ex: sites/all/libraries/TimeCircles/TimeCircles.js

That's it!