any chance of adding a 'count from' feature - as in from an event in the past?

I am not sure the best way to go about this: a check box, scripting to take care of this, or a separate module.

I tried hardcoding this myself via hacking the module (it has been too long since i programmed). I am sure this is not difficult...

thanks
c.

Comments

ilo’s picture

I think it's a great idea to have a automodifiers javascript collection in one module, to avoid overwritting too mucho the starting process on every load and eassily cache the js code in the client side.

Not only the count-from is a good idea, but also a simple increasing decreasing value in time at a fixed rate (not just seconds..). I'm looking for this kind of module but did find any.

for example the following classes would be a must in this kind of collection:
- autoincrement: a value in a given rate: gived a value for the span, increase/decrease that value at the rate specified.
- timers: show the ending/starting date of an event, and also render the countdown timer (or cont-from).

Also for any of them, allow to reload the page instead of just showing a "Completed / not yet started" message.

Any interest if programming it or any idea about an approach?

jvandervort’s picture

Title: a count-from feature? » a count-from feature, sure.
Version: 5.x-1.0 » 5.x-1.x-dev
Assigned: Unassigned » jvandervort
Status: Active » Closed (fixed)

Added count-up to the 5.x-1.x-dev release.

avolve’s picture

Component: Code » Miscellaneous

thank you so much from this.

I set it up on a test site running via MAMP and it all worked fine.

I can't seem to get it to work on the same site online (same php/css files, some different modules). I will let you know if i determine what it is

[this is as both a block and in a node - MAMP and live site]