OK so this link looks like the regular add event form that you get by adding this
[event_form] short code to your page.
What I need to to is allow my register users to upload events and edit them if they need to.
[event_form] does not give you the option to edit any events on the front-end.
However, if you set up a page in
Events>Settings>Pages>Other Pages>Edit events page you should be able to add/edit events if you are logged in. The problem is that this section of the plugin does not work. It does not let me to add new events because of incorrect date format.
Also, If I add an event from
[event_form] page but try to edit it, it will accept any date format, however will not update the date...
I tried to dig in the code and found this:
In file "when.php". (You can find it in "\wp-content\plugins\events-manager\templates\forms\event\when.php")
<?php _e ( 'From ', 'dbem' ); ?>
<input class="em-date-start em-date-input-loc" type="text" />
<input class="em-date-input" type="hidden" name="event_start_date" value="<?php echo $EM_Event->event_start_date ?>" />
<?php _e('to','dbem'); ?>
<input class="em-date-end em-date-input-loc" type="text" />
<input class="em-date-input" type="hidden" name="event_end_date" value="<?php echo $EM_Event->event_end_date ?>" />
in this code the hidden fields are the ones that store the date. That is why every time I try to edit the date it will accept my new date but will not store it in the DB. I changed the hidden inputs to text and that showed me the current event dates and if you change the date it will be stored in the DB, however you will not get the date-picker...
Hope this is helpful!