Support

Home Forums Event Espresso Premium List all events by date

List all events by date

Posted: April 9, 2016 at 1:58 am


rguzman

April 9, 2016 at 1:58 am

Hi there,

I’m currently working on a website that offers training courses in the construction field. As such, there are multiple training dates for the various courses, and I am managing it using the “Multiple Dates and Times Per Event” feature.

I would like to get a full list of my events sorted by date, but all I’m able to do at the moment is get a full list sorted first by the course, then by date.

For example, courses are being displayed like this:

Course 1 – April 10
Course 2 – April 11
Course 2 – April 12
Course 3 – April 10

when I’d like them to be displayed like this:

Course 1 – April 10
Course 3 – April 10
Course 2 – April 11
Course 2 – April 12

I’ve searched around but have been unable to find anything. Is this possible with the current plugin, or would it require modifications to the code? If there’s any way I could be pointed in the right direction, I’d be very appreciative.

Thanks!


Josh

  • Support Staff

April 11, 2016 at 9:18 am

Hi there,

Can you explain a bit more how these courses and dates are set up? For example, are each of the courses their own event or are there multiple courses per event?


rguzman

April 22, 2016 at 11:17 pm

Hi Josh, sorry for the delay in replying. There are multiple “courses” per event. My client will be teaching a number of different courses on multiple dates. So “Course 1” (the event) might be held every Sunday of the month (the ticket), and “Course 2” is held every Wednesday & Thursday.

Right now, I’m only able to get the dates listed by event. So it will list all of Course 1’s classes, then all of Course 2’s classes and so on. I would like the full list of classes to be sorted by the date of the individual class (ticket), regardless of what the course (event) is.

I hope that was a little more clear! Thanks for all your help.


Lorenzo Orlando Caum

  • Support Staff

April 25, 2016 at 5:55 am

Hello,

Try adding this shortcode to a page:

[ESPRESSO_EVENTS order_by=start_date,id]


Lorenzo


rguzman

April 28, 2016 at 9:55 pm

Hi Lorenzo,

This shortcode generates a list of the tickets sorted by date, but organized by event. I am looking for a list of all tickets sorted by date, regardless of event.

Screenshot of shortcode output

You’ll notice that #5 “First Aid CPR & AED” starts on May 4, but it is listed below three other courses that start AFTER it. If the list were sorted by date it should really be in the #2 slot.

I’m afraid it’s starting to look there might not be a way to do that within the plugin. Any ideas?

Thanks for your help!


Lorenzo Orlando Caum

  • Support Staff

April 29, 2016 at 9:47 am

Hello,

I had a look at your screenshot. Have you considered the Events Table view template add-on (https://eventespresso.com/product/eea-events-table-view-template/)?

You can use this shortcode to show events by start date and it will appear in a list table:

[ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=start_date]


Lorenzo


rguzman

April 29, 2016 at 8:35 pm

Hi,

I had considered it, yes. I was hoping to be able to accomplish this myself but it’s looking like that’s the best solution at this time.

I appreciate all your help.

Thank you

The support post ‘List all events by date’ 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