When I pull up an existing event the start and end time boxes are both empty. I know this is not normal behavior because I have a second installation hosted by a 3rd party and when I pull up an existing event for it the date / times are set correctly in their respective fields.
What file of mine could be messed up that could be causing this? I have tweaked some things with the installation slighly, mostly design related though.
Which version are you using please?
That sounds like what may be happening but I believe I am running release 1.7
1.7 should fill in both fields (hidden and visible) before serving the content to the browser - can you confirm your date format is the standard one
Y-m-d H:i ?
So, its pretty simple (I hope).
html for the form is served via XHR - so you should see this in developer tools network tab. The response is json formatted and has a html property - the dates should be formatted in there already.
xibo-calendar.js and only initialises the date pickers based on the dates that are already there.
The form is rendered here: https://github.com/xibosignage/xibo-cms/blob/master/lib/pages/schedule.class.php#L551
This is very different in 1.8, so make sure you’re in the
Sorry for the late reply. I will take a look at this and see if I can fix my system. Thanks so much!
my only suggestion is to comment out the datepicker initialisation in here: https://github.com/xibosignage/xibo-cms/blob/master/theme/default/js/xibo-calendar.js#L133
and then see what you have in the fields and hidden fields - they should then be exactly as the XHR return call sets them.