Has anybody successfully used the CCK date module to store a date and then use it to implement a Countdown Timer on a node? Having problems with that... Will appreciate any help.

Comments

jvandervort’s picture

Status: Fixed » Active

Sure.
Get the dev snapshot release of countdown timer dated April 27 or after.
Then add this to your node.tpl.php file:

<?php 
      print theme('countdowntimer', 'ct_timer', array('datetime'=>$node->field_mydate[0]['value'] .'-00:00')); 
?>

Where field_mydate is your cck field name.

Notice the hard-coded timezone ( '-00:00'). I'm not sure how to get that data from the CCK Date module.

jvandervort’s picture

Status: Active » Fixed

Status: Active » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.