Support

Home Forums Recurring Events Manager Adding time to REM date picker

Adding time to REM date picker

Posted: September 22, 2013 at 8:17 pm

Viewing 1 reply thread


Dippermouth Theatre

    September 22, 2013 at 8:17 pm

    Hi there,

    I wonder whether you might be able to help me out with something!

    I’ve installed the REM event_list_display template in my /uploads/espresso/templates folder, and have edited the code to try and add a start time to each event in the list:

    <code>                    if ($e[&#039;start_date&#039;] != $e[&#039;end_date&#039;]) : 
                            echo event_date_display($e[&#039;start_date&#039;], &#039;F j, Y&#039;).&#039;–&#039;.event_date_display($e[&#039;end_date&#039;], &#039;F j, Y&#039;); 
                        else : 
                            echo event_date_display($e[&#039;start_date&#039;], &#039;D j F Y,&#039;);
                            echo event_espresso_get_time($event_id, &#039;start_time&#039;);                                        
                        endif;</code>

    The events I’m displaying are recurring, and with one exception they all begin at 7:45pm. With this code, the list is displayed with ‘7:45pm’ at the end of each item – exactly as I want it. However, the one event which begins at 2:30pm is shown with a 7:45pm timestamp. When I edit and re-save it the entire list changes to display ‘2:30pm’, even though the other events are still set to 7:30pm in the backend.

    I’ve tried different versions of the start_time shortcode and created events without the REM, but can’t seem to get this to work. Am I doing something wrong, or is this a bug with the template/REM?


    Josh

      September 23, 2013 at 11:07 am

      Hi there,

      Please see this related forum post that answers your question:

      http://staging.eventespresso.com/topic/i-have-to-show-event-time-on-recurring-event-tempaltes/

      Viewing 1 reply thread

      The support post ‘Adding time to REM date picker’ is closed to new replies.

      Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

      Event Espresso - Staging Server