Home › Forums › Calendar Products › Community Events › optional End-Date/Time & change date format
- This topic has 3 replies, 2 voices, and was last updated 11 years, 6 months ago by Casey.
-
AuthorPosts
-
October 12, 2012 at 1:40 am #26542HeinerParticipant
Is it possible to make the End-Date/Time field in the community-event front-end optional, so that users don’t have to specify when their events end? Because sometimes users just can’t (or don’t want to) say how long one event will be.
And can I change the format of the date in the user front-end? (from YYYY-MM-DD to DD.MM.YYYY)
October 12, 2012 at 6:19 am #26546CaseyParticipantHeiner,
Thanks for getting in touch. I was able to successfully submit an event without an end date in my test environment, since the field is not required. Let me know if you’re able to do this on your site.
Regarding your second question, yes you can edit how the date format displays on the front-end by doing the following:1) Make sure you do a template override (https://theeventscalendar.com/faq/what-are-template-overrides-and-how-do-i-do-them/) before making any modifications
2) In your template files, look for some PHP that looks like this: https://gist.github.com/3879151 and change it to this: https://gist.github.com/3879165
Let me know if that does the trick or if you have any further questiosn. Thanks!
October 15, 2012 at 12:02 am #26604HeinerParticipantThanks Casey,
You are right. I guess I was a little confused because the End-Time is preset and I didn’t see anything like a “no end” option (which I added for me now using js to clear the fields)
To my second question: Sorry, I didn’t make clear that I want to change the date format in the submit event form in the frontend. Can this be done, too?October 15, 2012 at 7:34 am #26612CaseyParticipantHeiner,
Unfortunately this is not currently possible, as it would take a modification to the plugin core files in order to facilitate. Ii’ll pass this feature along to the devs for their suggestion. Thanks! -
AuthorPosts
- The topic ‘optional End-Date/Time & change date format’ is closed to new replies.