Support

Home Forums Event Espresso Premium Ordering of events that occur on the same day?

Ordering of events that occur on the same day?

Posted: September 22, 2013 at 7:18 pm


Kelly Cobean

September 22, 2013 at 7:18 pm

I see the short code for ordering events by start date and ID, but I have two events on the same day, one in the AM and one in the PM and they are displaying backwards. How can I order events so that the chronologically first event appears first on the page. The order_by function doesn’t seem to consider time as well as date.


Dean

September 23, 2013 at 3:12 am

Hi Kelly,

They should automatically order themselves as per the time. I looked at the site we have for you on file and the two events, AM and PM are in the correct order in both the list and the calendar.

Have I missed something or is this now resolved?


Kelly Cobean

September 23, 2013 at 4:23 am

Hi Dean,
My registrations open tonight and I really needed these in the right order so I deleted the events and recreated them so that sorting by ID would put them in the right order. When I created them the first time, I did so by duplicating a previous event and that seemed to do screwy things with the event ID. The PM event had a lower ID than the Am event, so it was listing PM first. Sorting by date didn’t change that, thus my posting here.


Dean

September 23, 2013 at 5:11 am

OK, I see what you mean now, I didnt realise I had managed to put them in time and event ID order!

OK, this has actually been fixed and is in the pipeline for release 3.1.36. As you need it straight away, I sent you a copy of the files that need to be replaced (one template file – event_list.php and one core file – time_date.php).


Kelly Cobean

September 23, 2013 at 5:23 am

I got your email. Thanks very much Dean. Your support is top notch, as usual.

It would be great to see a way within the Event Manager to specify the order of events. Perhaps a manually configurable “SORT_ID” so that the order can be changed on the fly to any desired order. Just a thought!

Thanks again.

Kelly


Dean

September 23, 2013 at 6:01 am

No problem, let me know how you get on with it.

I’ll certainly add that idea to our feature request list

The support post ‘Ordering of events that occur on the same day?’ 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