Creating a new event: How to preset start and time of event?

Home Forums Calendar Products Community Events Creating a new event: How to preset start and time of event?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #818865
    Oliver
    Participant

    Hi Casey,

    when creating a new event for the start and end time the current hour is used:
    http://www.treffpunkt-jazz.de/events/community/add/

    How can I preset the start time to a specific time, e.g. start time = 20:00 and end time = 23:00?
    (the website is an event calendar with mostly evening events)

    Best regards,
    Oliver

    #822205
    Brian
    Member

    Hi Oliver,

    I can help point you in the right direction on this.

    There is no feature out of the box to change the time to a preset time. The function right now is designed to get the current time of the user rounded to the nearest hour.

    There is filter you can try to use to modify the output here:

    tribe_community_events_form_start_time_selector

    That is found in this file:

    \the-events-calendar-community-events\template-tags.php

    Custom Datepicker
    Or you could follow the themer’s guide to move this file:

    \the-events-calendar-community-events\views\community\modules\datepickers.php

    And replace this function:

    tribe_community_events_form_start_time_selector();

    #867051
    Brian
    Member

    Since there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Creating a new event: How to preset start and time of event?’ is closed to new replies.