Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Issue with [EVENT_LIST] | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Issue with [EVENT_LIST]

Issue with [EVENT_LIST]

Posted: October 4, 2013 at 7:13 am

Viewing 7 reply threads


phgroup

October 4, 2013 at 7:13 am

Hello,

I have three events set up in event espresso. They have the following registration details:

Event A:
Registration Starts: 2013-09-26 8AM
Registeration Ends: 2013-10-03 11:59PM

Event B:
Registration Starts: 2013-09-26 8AM
Registeration Ends: 2013-10-07 11:59PM

Event C:
Registration Starts: 2013-09-26 8AM
Registeration Ends: 2013-10-10 11:59PM

I’m using the shortcode [EVENT_LIST limit=2]

Yesterday 2 events were displayed and it was working as expected. Today Event A’s registration has ended, but I’m only seeing Event B listed. If I change the shortcode to [EVENT_LIST limit=3] I will see the two open events.

Can you help me figure out why both events are not showing?

Thanks.


Anonymous

October 4, 2013 at 7:48 am

Hi phgroup,

What are the actual Event dates for those events?

I’m guessing Event A is still an active event (NOT_OPEN to registrations but is ended today/tomorrow?)


phgroup

October 4, 2013 at 7:52 am

Event A:
Start Date: 2013-10-10 8am
End Date: 2013-10-10 11:30am

Event B:
Start Date: 2013-10-10 7:30am
End Date: 2013-10-10 9:30am

Event C:
Start Date: 2013-10-15 8:30am
End Date: 2013-10-15 10:24am

All three events are active. Event A has a status of CLOSED, Events B and C have a status of OPEN.


Anonymous

October 4, 2013 at 10:33 am

Hi phgroup,

Just a quick update, we are looking into this and have found that this occurs when the registration date has ended, but the event has not passed. They are still loaded, then the limit is applied, then the status is filtered.

We are working on a fix and will update you soon.


Anonymous

October 7, 2013 at 2:49 am

Hi phgroup,

I’ve modified the function used by the [EVENT_LIST] shortcode to show only open events via another attribute.

If you open up event-espresso/templates/event_list.php

On line 27 you should find

if (!function_exists('event_espresso_get_event_details')) {

That is the function used for that shortcode, replace that entire function with THIS ONE

Then when using the shortcode [EVENT_LIST show_only_open=true limit=2]


phgroup

October 11, 2013 at 9:22 am

Tony,
Thank you, that works. Will the changes I made be preserved during future updates?


Anonymous

October 11, 2013 at 9:31 am

Hi phgroup,

Glad to help.

Not if you leave the file where it is now no, it will be replaced when EE updates.

If you copy event_list.php and event_list_display.php to wp-content/uploads/espresso/templates those files will be saved. This applies to any modifications you make to any files in /event-espresso/templates/.


phgroup

October 11, 2013 at 9:32 am

Great, thanks!

Viewing 7 reply threads

The support post ‘Issue with [EVENT_LIST]’ 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 - Staging Server