automatically set whole day dates

Home Forums Calendar Products Community Events automatically set whole day dates

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1359407
    Erwan Pianezza
    Participant

    Hi, I would like to automatically set whole day dates on this page

    http://expo-foto.fr/events/annonce/ajouter

    first thing, when I check to checkbox, hours do not disapear

    second thing, I would like this check box to be checked by default

    any idea ? thanks

    #1360252
    Patricia
    Member

    Hey Erwan,

    Thank you for reaching out to us!

    To have the “All Day Event” checkbox ticked by default, you can modify the events-meta-box.php file on the-events-calendar/src/admin-views/

    On line 143, simply add the word “checked” in the end of the input tag.

    Unfortunately the template override method is not available for admin views, so you’ll have to re-do this customization after every update or explore alternatives to do the same thing from outside the core files.

    Regarding the hours that are not disappearing when you check the “All Day Event” box, that’s odd! I’ve just ran a test in my own WordPress install and it is working as expected here. Can you please make sure that all Modern Tribe plugins are up to date? If all plugins are up-to-date and/or the update didn’t help you to solve this problem, I would suggest you to use Chrome Developer Tools to spot any console errors in your site. Access the page where you are experiencing this issue (using Google Chrome) and press F12. After that click on the Console menu and send us a screenshot / let us know if you see any errors in there.

    Also, please share your system info with us so we can further investigate if necessary.

    Best Regards,

    Patricia

    #1370689
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘automatically set whole day dates’ is closed to new replies.