Start time and end time drop down list in public event form

Home Forums Calendar Products Community Events Start time and end time drop down list in public event form

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31944
    clubbingpriest
    Participant

    How we can change the hour showing by default in the hour start time / end time drop down list?
    Right now we have 08 H as start time and 17 H as end time in drop down list by default
    I would like to have the hour start time to show 23h and end time showing 06h by default
    Any idea where to do the mod ?

    #31952
    Casey
    Participant

    Thanks for reaching out! You can use some jQuery to modify what value is selected by default.

    First, you’ll need to perform a template override and putting a copy of event-form.php into this directory: ‘YOUR_THEME_DIR/events/community/’.

    Then replace the script block on line 18 with the following code: https://gist.github.com/4692487

    Let me know if that gets the job done. Thanks!

    #32008
    clubbingpriest
    Participant

    HI Casey,
    Thank you
    It work perfectly

    #32104
    Casey
    Participant

    Glad to hear it! I’ll go ahead and close out this thread since everything is resolved. Feel free to start another thread if needed. Thanks!

    #978546
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Start time and end time drop down list in public event form’ is closed to new replies.