Quote:
Originally Posted by OldSchoolDSL
I'm having a hard time getting it to work on my site. It should be counting down to New Years, but rather it keeps counting down to the end of Day Light Savings time. I'm very sure the event is ID 1 is for new years on my calendar
|
The only ID you can change is the $event_calendarid which should be set to the calendar id that you want countdown events to come from. Calendar ID 1 is most likely your default calendar. I would recommend creating a new calendar for admin view only which can contain only events that should appear in the countdown. Doing this allows you to include HTML in the title for pictures, formatting, etc. and prevents anyone else seeing what events you have set for a countdown.
When you select a calendar you will see the ID in the address bar of your browser...
/calendar.php?calendarid=1
Also, try to always have another event ready for countdown after the first event has reached zero. The code picks up the first two events and counts down to the first one, then starts the second event countdown.