Due to the current global situation, we have had to postpone a number of our events.
Problem is in the Events Espresso Table view Postponed events show as Register where it normally says Register or Fully Booked. Is there a way it can say Postponed?
It would. Another approach you could take would be to alter the template to add a check for the event’s status, then display the status if it’s postponed or cancelled.
The steps to make this edit are as follows:
You copy the template file over to your child theme from the Events table template add-on. Then immediately after the line that starts with
$button_text you add this: $button_text = $post->EE_Event->is_cancelled() ? 'Cancelled' : $button_text; $button_text = $post->EE_Event->is_postponed() ? 'Postponed' : $button_text;
Josh’s suggestion has worked. Thanks for the speedy replies.
Viewing 6 reply threads
The support post ‘Postponed events in Table show register’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.