Support

Home Forums Event Espresso Premium Event datetime format in table view

Event datetime format in table view

Posted: May 17, 2016 at 12:35 pm


Miller Howard

May 17, 2016 at 12:35 pm

I’m working on a site that is selling class registrations. Some classes have multiple dates and times offered. I’m wanting to display all dates and times for each class in the table view, and it’s mostly working except for one datetime for each class is not appearing in the correct format –
https://snag.gy/aNLxWU.jpg

What might be causing this?
I used instructions & code from this page – https://gist.github.com/lorenzocaum/ac217033f12232404cce

Also, is there a way to display these classes in a table where all dates are sortable? The toggle option on the Dates column only sorts according to the first date in each class row. Is it possible to display each datetime of a class in it’s own row?


Josh

  • Support Staff

May 17, 2016 at 2:41 pm

It turns out that the code from the page you linked to needs to be corrected. I’ll let Lorenzo know.

I’m afraid it’s not possible to display each date time in its row because the main query that runs puts each event into its own row.


Miller Howard

May 17, 2016 at 3:19 pm

Ok, thanks. Do you have an estimate of when that code might be updated?


Josh

  • Support Staff

May 17, 2016 at 3:39 pm

I do not know, but you can use this other template instead:

https://gist.github.com/joshfeck/96f3e454dc1e06c759079ce887ba26d6


Miller Howard

May 18, 2016 at 8:13 am

Thanks so much, I was able to make that work.


Josh

  • Support Staff

May 18, 2016 at 11:03 am

You’re welcome.

The support post ‘Event datetime format in table view’ 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