Support

Home Forums Event Espresso Premium Upcoming Event Widget

Upcoming Event Widget

Posted: October 18, 2012 at 11:47 pm


Michael Watt

October 18, 2012 at 11:47 pm

Events within the widget are being listed oldest to newest, ignoring the most recently created event. Is there any way to resolve this issue?

I have removed the widget.php file from my uploads/espresso/templates folder.

link to widget page

  • This topic was modified 11 years, 6 months ago by  Michael Watt.


Dean

October 19, 2012 at 3:07 am

Is it possible to get your login details in order to look into this?

If so, please send them via https://eventespresso.com/contact/

Choose the “I am sending login info as requested” option and fill out the form


Michael Watt

October 22, 2012 at 11:17 pm

Thanks, Dean. I’ve sent in the details.


Dean

October 22, 2012 at 11:38 pm

Hello Michael,

The login details sent don’t seem to work, can you recheck and resend please?


Michael Watt

October 23, 2012 at 1:26 am

Sorry, Dean. Re-submitted.


Dean

October 23, 2012 at 2:36 am

Hi Michael,

OK, well the widget is doing as it is supposed to, but that doesnt help you as it is defaulted to displaying the items the other way to how you want them to be.

I have a code work around that should sort it. Copy the event-espresso/templates/widget.php to uploads/espresso/templates

On line 47 it says

$order_by = " ORDER BY date(start_date), id ASC ";

change it to

$order_by = " ORDER BY date(start_date) DESC ";

I’ve put a feature request in to add an option to the widget to change the display order.


Michael Watt

October 23, 2012 at 10:35 pm

Resolved! That did the trick. Thanks Dean.

The support post ‘Upcoming Event Widget’ 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