AM-PM select from "new event form" in 24h view
-
Hi everyone,
i like to say thank you for this great plugin.
I’m running community events plugin with a front end for subscribed users in my Childtheme. Themain Goal is, to get a view with “24h selects”, but whatever i tried … i couldn’t manage it.
First of all, timeformat is setup right. Inside Dashboard the form to add a new Event shows up totally correct (24h format, no am/pm select). In frontend I still got the options looking like “12h format, select am/pm”
1. Question:
1. Could it be done by simply cloning the form inside Dashboard to a page? Is this a good choice?If yes, let me know how to do this. If not, i would go further by thinking of changing the form selects with jquery:
1. customize the certain form inside my childtheme
2. create new select-options with 24 hours mode
3. make the original “event_start_ampm” and “event_end_ampm”<select style="visiblity:hidden">
4. pass the 24h selection onchange correctly to the original (now hidden) “event_start_ampm”/”event_end_ampm” option-values via jqueryA whole lotta text and thoughts, but… Please help me finding a solution.
Thank you very much!
- The topic ‘AM-PM select from "new event form" in 24h view’ is closed to new replies.