I want to have a countdown in a reminder email. How can I use this countdown timer in the Email module? I have tried to add the dependency of SimpleCountdownTimer to the module but it cannot.
Hi,
Can you elaborate your requirement ? Do you want to send email after some time passes ?
Thanks
The requirement is the user has to complete their action within 48 hours after the first application submission.
I want to send an email that has a working timer countdown in it for the time left before the 48 hours due. For example,
Thanks.
You should save the sent date to the database, then when the user open the reminder page, then show the countdown based on saved sent date and 48 hours limit.
I've modified the sample app from the plugin to show this.
It isn't possible to use this component as a working timer countdown in a mail because you can't use a webblock in a email,
the only way to do this is by using a countdown timer as that is implemented as a image; like it is done here:
This sample is created with https://www.sendtric.com/
Hi Matthias Preuter,
Thanks for the suggestion. But I still don't know how to do that working timer using images. Do you mind explaining how to implement it?
Regards
There are a lot of services that can provide the creation of a dynamic countdown timer for email (search for "countdown gif generator"). All these services generate a URL that you can use to embed in an email with the standard 'image' widget.
For example with the service mentioned above you can create a (fixed) countdown timer this way:
you can embed this image in an email by using the default image widget and the src (URL) and style class provided.
This is a sample with a fixed image, most services have the ability to create a dynamic countdown timer with a api.
Hope this helps.