allow users to create all-day-events

Hello,

I was wondering, how can I make it so that when somone creates an event they can create an all day even or give it a time duration.

like for St. Patrick’s day instead of doing 12am - 112am March 17th, just do March 17th.

I have some events that are only a few hours, but I have others like holidays that last the entire day.

Thanks,

Aaron

Hello,

Be sure to check Full day option in our documentation.

Best regards,
Ilya

Hello Ilya,

Thank you, I see this
scheduler.config.full_day = true;

Can you tell me where I should put this code. does this go in the backend of wordpress in the event templates somewhere?

Thank you for your help,

Aaron

In admin panel
docs.dhtmlx.com/doku.php?id=dhtm … l#settings

you can set the “multiday events” checkbox

Hello,

thank you for your help, I do have one other question. when I put the code in, it says undefined not Full Day, how can I change it so that it says Full Day next to the check box?

Thank you,

Aaron

Hello, AARONDAS.

How have you enabled Full day checkbox, though dhtmlxscheduler_include.html file?
It’s possible that translation for this label is missing in your version, try adding

scheduler.locale.labels.full_day = "Full day";

Or you can edit wordpress\wp-content\plugins\event-calendar-scheduler\codebase\sources\locale.js file and add full_day property with translation there (you will have to re-save your settings in the admin’s part).

Best regards,
Ilya