Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.10
About It:
Get it:
Rate it:
  • Helpful?
  • 1 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

smd_countdown

Count down to any arbitrary date/time; by default the current article’s Posted date.

Features:

  • Counts down to article posted, expired, modified time; to any time given in any article field; or to any arbitrary time given as an English date
  • Supports <txp:else /> conditional so you can take different action when the specified time has been reached
  • Display number of years, months, weeks, days, hours, minutes, seconds as either an absolute number (‘10 days to go’) or a date-based number (‘1 week 3 days to go’)
  • Counts up if the event has passed

Simply chuck the <txp:smd_countdown> tag in an article Form — the first part of the container will be executed when the given time is reached; the <txp:else /> portion is executed otherwise. Use the multi-purpose <txp:smd_time_info /> tag to display whichever bits of time you wish inside the container.

NOTE: it is not a real-time counter/timer. But there is nothing to stop you seeding a javascript- or flash-based timer with the output of this plugin.

Article Request Count:
Keywords/tags:
Initially released:
9 Aug 09
Posted here:
09 Aug 2009
Article modified:
17 Jun 2010

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern