Skip Navigation

[Resolved] input of the countdown module

This support ticket is created 2 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by ferryv-3 2 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#2428255

Tell us what you are trying to do?

I want to show a countdown to a expiration date but i do not want to use the datepickform thad comes with it because the date is assignt automaticly when the user makes the post.

I am able to get the expire date with the [cred-expiration] shortcode thats build in toolset, and i am able to output this date on the page in a singlefield module.

I can not find anything about how, or what input it takes. Looking at the code it looks like there's a total seconds or something, extreem long number.

Is there any documentation that you are following?

https://toolset.com/block-item/countdown/

It has options to get a dynamic source but it only seems to accept the datepickmodule as input. Is there any way to work around this, or do i need to go get some other countdown code to do this?

Thanks in advance

Ferry

#2428867

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You are right, I can see that there is no way to assign the post expiration date value to the countdown block.

The workaround would be to create a date field something (you can name it as per your choice) "custom--copy-expiration-date" and then copy the original post expiration field value to this date custom field and then use this date field to display the countdown block.

This is the possible workaround I can think of. If you agree, I can help you to setup it, please let me know.

#2429085

I'v tried thad already but there's no way i can get the countdown to accept the field.

Can you specify what input the countdownblock takes?

#2429799

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please tell me what did you tried exactly?

What it will require is, you will have to add additional custom date field that will hold the value of post expiration and we will use that additional custom date field to display the countdown.

Can you please share problem URL where you added the form as well as admin access details or tell me how exactly you are storing the post expiration date if its different.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2430393

My issue is resolved now. Thank you!