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
Event Time are not in chronological order | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Event Time are not in chronological order

Event Time are not in chronological order

Posted: February 8, 2013 at 12:44 pm

Viewing 8 reply threads


CopelandMagic

February 8, 2013 at 12:44 pm

Hello.
On our Event Registration page ( via shortcode [EVENT_TABLE_DISPLAY category_identifier=”public_shows”] ) our Show Times do not display in chronological order. How can this be fixed?
EE3.1.30.5P


Josh

February 11, 2013 at 9:20 am

Hi there,

Normally that will display times in order. It looks like there’s been some modifications made to the template. Can you post the contents of the table_display.php file in a pastebin or a gist and link to it here?

Also, just as a heads up, the Event Registration page should have the [ESPRESSO_EVENTS] shortcode on it. When you use an alternative template like [EVENT_TABLE_DISPLAY], this should be on a separate page. Then you can hide the page with [ESPRESSO_EVENTS] from the site’s navigation menu.


CopelandMagic

February 11, 2013 at 12:24 pm

Thanks.
I’ve just added a hidden page with [ESPRESSO_EVENTS].
Here is the pastebin of table_display.php

http://pastebin.com/EvmnVrnJ


CopelandMagic

February 11, 2013 at 12:26 pm

**correction, there was already a hidden page with [ESPRESSO_EVENTS] in place **


Josh

February 11, 2013 at 2:23 pm

Hi there,

I’m not sure why the times are displaying out of order on your site. I copied the contents of your modified template and installed on my site and the times are displaying in order.

If you change the part that is now:

<?php echo event_date_display($start_time, 'g:i A')?>

back to:

<?php echo $start_time?>

Does that make any difference?


CopelandMagic

February 11, 2013 at 2:42 pm

Making the suggested change displays the times in 24-hour format, yet still not in chronological order.
Where else are the event’s orders being determined?

Thanks


Josh

February 11, 2013 at 3:05 pm

Hi there,

In this case, it’s not the order of the actual events, but the start times.

You might try the table_display.php template, or even pull the SQL from that one because it does order the events by date and start times.


CopelandMagic

February 20, 2013 at 3:22 pm

On the pastebin above, isn’t the event display order determined on lines 68-74? How can this be altered to show them in chronological order?


Josh

February 21, 2013 at 8:37 am

Hi there,

It looks like line 44 is ordering them. Have you tried the other template?

Viewing 8 reply threads

The support post ‘Event Time are not in chronological order’ 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