dynamic/silverstripe-elemental-countdown
最新稳定版本:2.0.4
Composer 安装命令:
composer require dynamic/silverstripe-elemental-countdown
包简介
Display a countdown to a specific date and time
README 文档
README
Displays a countdown to a specific date and time.
Requirements
- silverstripe/recipe-cms: ^4@dev
- dnadesign/silverstripe-elemental: ^4@dev
Installation
composer require dynamic/silverstripe-elemental-countdown
Usage
Elemental Countdown Block will add the following Element to your site:
- Countdown (to a date/time specified in the cms)
Template Notes
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.
Screen Shots
Front End sample of a Countdown Element
CMS - Countdown Element Main Tab
Getting more elements
See Elemental modules by Dynamic
Configuration
统计信息
- 总下载量: 16.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-05-10

