optional End-Date/Time & change date format

Home Forums Calendar Products Community Events optional End-Date/Time & change date format

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26542
    Heiner
    Participant

    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)

    #26546
    Casey
    Participant

    Heiner,
    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!

    #26604
    Heiner
    Participant

    Thanks 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?

    #26612
    Casey
    Participant

    Heiner,
    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!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘optional End-Date/Time & change date format’ is closed to new replies.