Support

Home Forums Event Espresso Premium Start Date Not Showing

Start Date Not Showing

Posted: December 14, 2020 at 6:11 pm

Viewing 8 reply threads


J

December 14, 2020 at 6:11 pm

Hi Tony

I am just following up on our previous post about the how the date shows on our cart (we have the latest EE3). Here is the post: https://eventespresso.com/topic/changing-text-on-cart/

In that post you mentioned that the “Date” on the cart should show as “Start Date” where the start date and the end date of the event are different.

When we run two or three day events and put in a start date and a later end date, it still shows as “Date” rather than “Start Date” on the cart. The iCal download also only shows the first day, rather than all the days.

How can we get it to show “Start Date” for our multiple day events (usually 2-3 days) and have the iCal download include all days?

Regards, Joe


Tony

  • Support Staff

December 15, 2020 at 9:19 am

Hi Joe,

The text switching is my mistake, it does happen, but not on location you showed in your screenshot. You’re showing the event list and I had the registration form on the brain.

To change that text you’ll need to use this in the function I mentioned in the other thread:

$strings = array(
        'Date:' => 'Start Date:',
);

How can we get it to show “Start Date” for our multiple day events (usually 2-3 days) and have the iCal download include all days?

How comfortable with PHP are you?


J

December 15, 2020 at 2:23 pm

Many thanks Tony

Whilst I have managed to get some (very) basic coding skills over the years, PHP would be a stretch for me. I am hoping to put in one of your a support token requests for this one. Though just so I am clear in my head about this, it is possible to show “Start Date” on the event list just for events over multiple dates (rather than it having to be done for all events – for single day events, we would just want to it to say “Date”). And it is also possible to have the iCal download include all the days?

Regards, Joe


J

December 15, 2020 at 4:20 pm

PS: another option for us would be to keep the word as just showing “Date” as current, but having all the dates show. So for example if it was a 2 days event on 5 & 6 March 2021, the date would show on the event list as 5-6 March 2021 or something like that (with the iCal download also showing all the dates)


Tony

  • Support Staff

December 16, 2020 at 5:14 am

Though just so I am clear in my head about this, it is possible to show “Start Date” on the event list just for events over multiple dates (rather than it having to be done for all events – for single day events, we would just want to it to say “Date”).

For events that have the ‘Event Start Date’ and ‘Event End Date’ set to different dates then you can check the value and use ‘Start Date:’ and output the start date.

If they match, display ‘Date:’ as it does now.

And it is also possible to have the iCal download include all the days?

The iCal would show an end that started on {start_date} through to {end_date} rather than splitting it into separate days, will that still work for you?


J

December 16, 2020 at 12:07 pm

Many thanks Tony

So when you say check the value, is that a value that’s already available to be checked with Event Espresso 3, or would it be there to check after the modifications to the code you mentioned?

Also, just checking that it wouldn’t really be an easy option to have the date range showing on the event list, rather than modifying date and start date labels?

Regards, Joe


Tony

  • Support Staff

December 17, 2020 at 5:06 am

So when you say check the value, is that a value that’s already available to be checked with Event Espresso 3, or would it be there to check after the modifications to the code you mentioned?

If would be a check within the code itself, so lets say you have event start date set to 2020-12-25 and the event end date also set to 2020-12-25

Within the code used to output the event_list we can do something like:

if( $event_start_date === $event_end_date ) {
    echo 'Date:';
} else {
    echo 'Start Date:';
}

In English, if the start date matches the end date, output ‘Date:’, otherwise output ‘Start Date:’. So events on a single day still use ‘Date’ and other use ‘Start Date’, is that what you are looking for?

Also, just checking that it wouldn’t really be an easy option to have the date range showing on the event list, rather than modifying date and start date labels?

You can have the date range output if preferred, it will still require custom code but can be done so it’s really whichever you prefer.

Side note – is there something preventing you from updating to EE4?


J

December 22, 2020 at 8:30 pm

This reply has been marked as private.


Tony

  • Support Staff

December 23, 2020 at 8:38 am

Hi Joe,

My apologies for the delay on this, I’ve just replied to your support token via email. If you can follow up there I’ll get this fixed up for you.

Viewing 8 reply threads

The support post ‘Start Date Not Showing’ 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