Support

Home Forums WP User Integration My Event Registrations don't show the event time

My Event Registrations don't show the event time

Posted: May 1, 2017 at 9:40 pm

Viewing 3 reply threads


T R

May 1, 2017 at 9:40 pm

Hi there, we are using the User Integration add-on to show users’ events in their profile that they have registered for. In the initial table it shows the date with the time of the event under the ‘When’ column (http://pasteboard.co/1hcSKVgqG.png).

When we click the gear icon for more details, the table for the tickets only shows the dates and no times (http://pasteboard.co/7V81EtWG.png). Why is this and how can we get the times to show in that table?

Thanks


Tony

  • Support Staff

May 2, 2017 at 4:35 am

Hi there,

That section shows a date range by default so we do not include a time.

It currently pulls the earliest datetime the ticket is assigned to and shows the start date from that, then pulls the latest datetime for the ticket and shows the end date.

You can customise the template if you prefer, you need to copy the content-espresso_my_events-event_section_tickets.template.php to your themes root directory and change line 16 to out the format you prefer. for example:

<?php echo $ticket instanceof EE_Ticket ? $ticket->date_range( get_option('date_format') . ' ' . get_option('time_format') ) : ''; ?>

Will use the date and time format set on yout site options to output something like this – http://take.ms/63DqJh


T R

May 3, 2017 at 7:57 pm

Awesome, that worked great, thank you!


Tony

  • Support Staff

May 4, 2017 at 5:26 am

You’re most welcome.

Viewing 3 reply threads

The support post ‘My Event Registrations don't show the event time’ 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