Closed (fixed)
Project:
Countdown
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
3 May 2007 at 14:28 UTC
Updated:
26 May 2008 at 14:13 UTC
Jump to comment: Most recent file
Make the countdown value format themeable for the block.
I know we can do a per block template, but that's not going to be granular enough to change the layout of the days, hours etc.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | countdown_theme_block.patch | 4.95 KB | mlncn |
Comments
Comment #1
mlncn commentedThis patch applies against version 5.x-1.0 and provides a theme function for all of the block content, simply by throwing most of what was in countdown_block's case: view into a new theme_countdown_block() function.
There might be more logic in this function than there should be, but it will allow people to copy it and put it in their template.php file as your_theme_name_countdown_block() or phptemplate_countdown_block() and completely customize the output-- plus if we do move some logic out of the theming portion and pass it in as variables, it shouldn't break anything for people using this method.
Demo http://dev.wsf2008.net -- all we've done is add a break, but Agaric's theming department will be able to get to it soon.
Comment #2
deekayen commentedcommitted
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.