Closed (fixed)
Project:
jQuery Countdown
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 May 2010 at 09:46 UTC
Updated:
8 Feb 2012 at 03:14 UTC
Synchronizing the countdown timer with the server is essential for my application.
I would like to request adding support for jQuery Countdown's serverSync option, explained here:
http://keith-wood.name/countdownRef.html#serverSync
At quick glance this should be achieved by adding the function shown in the example to jquery_countdown.js plus a callback menu entry and function in jquery_countdown.module.
I will attempt to do this myself when time permits unless someone beats me to it.
Comments
Comment #1
johnhanley commentedTo get the ball rolling on this I have added the following (on my local development environment) to jquery_countdown.module:
I then added the following to jquery_countdown.js:
And finally the output is as follows:
Unfortunately the serverSync option produces a JavaScript error:
My assumption is that the serverTime function is not firing because it's not part of the Drupal.jquery_countdown object.
The display works as expected when removing the "serverSync" option, albeit synchronized with the client and not the server. This is undesirable in my situation.
Does anyone have any suggestions?
Comment #2
Avaz Mano commentedAny progress on this? I would love this feature as well.
Comment #3
blackice2999 commentedfixed and will be part of the next release of module
Comment #4
blackice2999 commentedComment #5
mthomas commentedCan you post an example of your theme function with the working serversync code?