Posted: July 11, 2012 at 6:13 am
|
I have a member-side home page on my (development) site that uses the following simple shortcode to display the next upcoming event on the calendar.
Up to now, this shortcode has worked fine (no reason it shouldn’t), but this morning, it stopped displaying the next event. Here are the details… The next event in the calendar is a member-only event scheduled to take place today from 3:00 to 4:30pm (the time right now is 7:00am). This event has been the “next event” for the last few weeks and has been displayed on the home page using the Registration for the event ended last night at 11:59pm, at which time the event changed from OPEN to CLOSED. At that time, instead of beginning to display the following “next event” — a public event scheduled in two weeks — the shortcode simply stopped displaying anything at all on the page. To get the page to display an event, I must either: a) change the shortcode to SUMMARY: The shortcode is not operating as designed and automatically showing the next OPEN event if today’s event is CLOSED. The site is still in development, so I am not in panic mode, but I do not want to have to discover/develop workarounds to this when the site goes live. |
Which version number of Event Espresso Roger? |
|
|
Josh, When I first noticed it this morning, I was running 3.1.24.P. I have since updated to 3.1.24.1.P — and the problem persists. Roger |
I’ve mentioned this to the dev team. There might be something like a [NEXT_EVENT] shortcode that could be created that would be designed to show only the next event available for registration. For the showing the next available event, the upcoming events widget (set to show 1 event) should work for your purposes. If you can display widgets on your home page, you might try that. |
|
|
Josh |
|
And it has been working well for quite a while. It only ran into trouble in the specific case where the next event (today’s) is closed for registration. Why would it not simply display the next event in the calendar? |
Because the event hasn’t taken place yet. |
|
|
I don’t understand your last note. |
There isn’t, which is why I recommended using the upcoming events widget. |
|
|
I don’t have a sidebar on the pages where I’m displaying the upcoming events. |
Widgetized areas can be added just about anywhere. Here’s one tutorial that walks through how to create a new widget area: http://designisphilosophy.com/tutorials/creating-new-widgetized-areas/ |
|
The support post ‘EVENT_LIST shortcode bug?’ 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.