Support

Home Forums Event Espresso Premium upcoming widget show recurring events but only next event

upcoming widget show recurring events but only next event

Posted: May 13, 2013 at 3:03 am


Ben

May 13, 2013 at 3:03 am

Hi, In the upcoming widget I’ve got 2 recurring events (course of classes), one for June, one for July. What I am trying to achieve for my client is that the next class for each month should appear. So the first class in June, and the first event in July. So half way through June, you’ll see the next upcoming class for June, and still the first in July. This will continue, with maybe the first for August and September, etc.
Is this possible?
What do I have to do?
Thanks.


Dean

May 13, 2013 at 4:51 am

Hi,

Generally the widget will use the registration date to define whether an event is shown or not (unless an option like show expired events is selected.

So it depends on when the registration ends.

Example, if you have your June and July event and set the widget to show just 2 upcoming events, if the registration period for the June event ends on the last day of June, then on the first of July the widget will show the July and August events (on the basis of one event per month).

I hope that makes some sense.


Ben

May 13, 2013 at 5:15 am

Thanks Dean,

Well the registration needs to be left open at all times until the beginning of the next month. If I can just show an example;

June – will have 10 dates  – Sat 1st, Sun 2nd, Sat 8th, Sun 9th, Sat 15th, Sun 16th, Sat 22nd, Sun 23rd, Sat 29th, Sun 30th.

July – will have 8 dates – Sat 6th, Sun 7th, Sat 13th, Sun 14th, Sat 20th, Sun 21st, Sat 27nd, Sun 28th.

What we want to have in the upcoming widget is;
June 1st (this will keep changing through June for the next available event)
July 6th (etc)

Is this possible?


Dean

May 13, 2013 at 6:10 am

OK, thanks for the example, makes what you want to achieve much clearer.

Well, it isnt possible with the default widget as is. I thought I had a great idea using 2 widgets and 2 categories but it failed to work when you get to the end of July (it ends up showing Sep and then Aug).

As such I cannot see any way to do this without creating a custom widget/shortcode to make this happen.

Looking at the Custom Files addon, theres a couple of shortcodes that could potentially be used as a basis but nothing that will fulfil your needs out of the box.


Ben

May 13, 2013 at 6:52 am

Thanks Dean,

Could you add it to the wishlist for enhancements in version 4 please.

Thanks.


Dean

May 14, 2013 at 3:35 am

Will do.

The support post ‘upcoming widget show recurring events but only next event’ 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