You are here

README.txt in Field Timer 2.x

Same filename and directory in other branches
  1. 8 README.txt
  2. 7.2 README.txt
  3. 7 README.txt
h1. Field Timer

h2. Description

This module provides datetime field formatters to display the field as a
timer or countdown. Module provides 3 field formatters: simple text and
2 formatters based on jQuery plugins: County and jQuery Countdown.

h2. Requirements

County (https://github.com/brilsergei/county)
jQuery Countdown (http://keith-wood.name/countdown.html)

h2. Installation

1. Download the module.
2. Download required JS libraries to drupal library directory and rename
library directories to libraries/county and libraries/jquery.countdown
respectively. This module supports jQuery Countdown 2.1.0.
4. Enable the module using admin module page or drush.

h2. Translation

Translation of 'Text timer or countdown' formatter can be done on the User
interface translation page.
Translation of jQuery Countdown is not compatible with Drupal translation
system. Therefore a special compatibility layer was created in the module.
Translation of 'jQuery Countdown' formatter can be done by 2 ways:
1. In the formatter settings form check option 'Use system language'. In this
case it will use the first langcode from the list - current content language,
default language, 'en', which will be found in jQuery Countdown translation
sets. For example, if content language is Belarusian (by), default language is
Russian (ru), then countdown will be displayed in Russian because there is no
Belarusian for jQuery Countdown.
2. You may specify Language option for each language enabled in the system
separately. In order to do it uncheck option 'Use system language' in the
formatter settings form, export configs with 'drush cex'. After that you need
find appropriate entity_view_mode entity config file in the folder with
exported configurations, copy the file to the language folder which you want
translate to and change in the copied file option 'regional' for your field.
Formatter settings cannot be translated via interface yet. See
https://www.drupal.org/project/drupal/issues/2546212

h2. Issues, Bugs and Feature Requests

Issues, Bugs and Feature Requests should be made on the page at 
https://drupal.org/project/issues/2040519.

h2. Creators

This module was created by Sergei Brill 
("Drupal user sergei_brill": http://drupal.org/user/2306590/)

File

README.txt
View source
  1. h1. Field Timer
  2. h2. Description
  3. This module provides datetime field formatters to display the field as a
  4. timer or countdown. Module provides 3 field formatters: simple text and
  5. 2 formatters based on jQuery plugins: County and jQuery Countdown.
  6. h2. Requirements
  7. County (https://github.com/brilsergei/county)
  8. jQuery Countdown (http://keith-wood.name/countdown.html)
  9. h2. Installation
  10. 1. Download the module.
  11. 2. Download required JS libraries to drupal library directory and rename
  12. library directories to libraries/county and libraries/jquery.countdown
  13. respectively. This module supports jQuery Countdown 2.1.0.
  14. 4. Enable the module using admin module page or drush.
  15. h2. Translation
  16. Translation of 'Text timer or countdown' formatter can be done on the User
  17. interface translation page.
  18. Translation of jQuery Countdown is not compatible with Drupal translation
  19. system. Therefore a special compatibility layer was created in the module.
  20. Translation of 'jQuery Countdown' formatter can be done by 2 ways:
  21. 1. In the formatter settings form check option 'Use system language'. In this
  22. case it will use the first langcode from the list - current content language,
  23. default language, 'en', which will be found in jQuery Countdown translation
  24. sets. For example, if content language is Belarusian (by), default language is
  25. Russian (ru), then countdown will be displayed in Russian because there is no
  26. Belarusian for jQuery Countdown.
  27. 2. You may specify Language option for each language enabled in the system
  28. separately. In order to do it uncheck option 'Use system language' in the
  29. formatter settings form, export configs with 'drush cex'. After that you need
  30. find appropriate entity_view_mode entity config file in the folder with
  31. exported configurations, copy the file to the language folder which you want
  32. translate to and change in the copied file option 'regional' for your field.
  33. Formatter settings cannot be translated via interface yet. See
  34. https://www.drupal.org/project/drupal/issues/2546212
  35. h2. Issues, Bugs and Feature Requests
  36. Issues, Bugs and Feature Requests should be made on the page at
  37. https://drupal.org/project/issues/2040519.
  38. h2. Creators
  39. This module was created by Sergei Brill
  40. ("Drupal user sergei_brill": http://drupal.org/user/2306590/)