You can now add the timer to a page node , just paste the following snippet into that page node's Template HTML: that you desire
Code:<xen:include template="cta_countdown_pagehook" />
There was a small bug in the way dayjust times are calculated which caused some funny things to happen with the hours pending on what timezone a user was viewing from. A fix has been put in place.
Please let me know if you find any errors in the timing setup as with all of the timezone offsets plus daily adjust offset stuff, mining out potential issues without naturally coming across them has driven me bat sh...well just crazy.
Thanks for your help in furthering this addon.
A few changes...
- Time elements in sidebar use phrases now
- Title has option to be a link as well as allowing URL input for the link
- Timer is set to be relative to a viewers time but now also has the option to ignore the users time and make it relative to to the timer setting according to GMT. (for now one will have to calculate that manually until I find motivation)
- Time can be set to repeat daily at the same time and ignore day and date settings
From this post - http://xenforo.com/community/threads/countdown.16913/#post-221868
You can edit the cta_countdown_main template if you would like to / need to change up some of the css styling.
After installing this addon you can with minimal configuration turn it into a widget for [bd] Widget Framework , this is a simple set of instructions which makes the timer sidebar block render properly within the widget framework
Ok right to it then....
__1.________________________________________
Navigate to:
Home > Options > Clip The Apex's Countdown Timer
Edit Option: Enable Sidebar Block
Un-check this option
(By disabling the sidebar block which can only be rendered once per page, you make it available for other systems such as WFw to render it)
__2.________________________________________
Now we will add the widget itself and call to display the timer with the widget framework rather than in the standard original way.
First download and install the following, the countdown and WFw are required to be installed first.
DOWNLOAD THE WIDGET BLOCK HERE
Navigate to:
Appearance > Add Widget
Now we start filling in the info.....do for the fields as they are written below... @XFRocks was nice enough to help me along with the renderer which basically means for you guys, adding the widget is as simple as a click and pasting in the locations that you use for your sidebar in this example I will default it to 'all' and you can edit it to your liking pending how you are already using the framework.
Renderer:
Code:CTA Countdown Timer Widget
Position:
Code:all
and to activate the widget...
Widget is Active: Checked
Thanks to Mikey for actually making this a true addon now...to me it wasn't complete until it had an options panel so hat's off to yah....and until the next release my friend.
Thanks to Brogan for letting me use 'HIS' template edits to make this addon for the community.
We use essential cookies to make this site work, and optional cookies to enhance your experience.