Display a countdown to a specific date and time
Displays a countdown to a specific date and time.
composer require dynamic/silverstripe-elemental-countdown
Elemental Countdown Block will add the following Element to your site:
When overriding the templates/Dynamic/Elements/CountDown/Elements/ElementCountDown.ss
file in your own theme, be sure to include the following in your .countdown
element:
data-end="$End $Timezone"
data-elapse="$Elapse"
example: <div class="countdown" data-end="$End $Timezone" data-elapse="$Elapse" ></div>
The above is used in the initialization of the countdown plugin.
See Elemental modules by Dynamic
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem