I did some work on the tpl file and the module to allow for the ubnit labels to be displayed either inline or under each of the digits they're associated with.
I added some CSS as well to allow users to tune exactly how each digit and/or label are displayed.
Finally, the module does not now *require* an event name, so that if the user wished, a counter only can be displayed.
I pushed my version to http://github.com/cafuego/countdown but I can do a patch against CVS 6.x-1.0 if required.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | countdown-646400-7.patch | 10.18 KB | univate |
| #2 | theme-646400-2.patch | 10.75 KB | cafuego |
Comments
Comment #1
trickyricky26 commentedHey thanks so much for this! It works great. Just what I needed. You can see how I used your version here:
http://whatsmypuppy.com
It is much more flexible than the current release.
Thanks again.
- Had to remove until I figured out why it wont load in chrome or mobile browsers
Comment #2
cafuego commentedReworked the patch with git.
Comment #3
Pillhuhn commentedHi cafuego,
I installed the countdown version from your original post. Do I still need to apply the patch?
Thanks!
Comment #4
cafuego commentedHi Pillhuhn, the patch only applies to the countdown module as hosted on Drupal.org, so if you grabbed mine from github you don't need to patch it.
Comment #5
danharper commentedHi Cafuego,
I've been trying to add a div wrapper to the template every time I do it breaks the script that makes the time move and I have to refresh the page to make it update. I've been adding the following,
at the start
and near the end
The style just pads it out and adds a background and padding successfully but the countdown is broken.
Cheers Dan
Comment #6
danharper commentedI managed it, had to add the div in the .js file.
got it working here not quite styled as I would like yet but nearly there. http://www.dan-linfoot.com
Thanks Dan
Comment #7
univate commentedRerolling patch, as it wasn't applying cleaning to the 6.x for me.
Otherwise I think this is a good addition.
Comment #8
usingsession commented