Support

Home Forums Event Espresso Premium EE3: Change "Closed" to "Full" in event list

EE3: Change "Closed" to "Full" in event list

Posted: December 13, 2018 at 6:52 am


lokimac

December 13, 2018 at 6:52 am

Hi – I’ve searched for this topic but haven’t quite found what I’m after. I want to change the word “Closed” to “Class Full” in all event listing pages. I thought it would be a matter of adding the event_list_display.php template to the uploads/templates folder, and changing these lines:

$status_display_custom_closed = $status[‘status’] == ‘REGISTRATION_CLOSED’ ? ‘ – <span class=”‘.espresso_template_css_class(‘espresso_closed’,’espresso_closed’, false).'”>’ . __(‘Class Full’, ‘event_espresso’) . ‘</span>’ : ”;

and then uncomment:

<?php echo $status_display_custom_closed; //Turn this on to display the closed message. ?>

But the event still says just “Closed”. What do I need to do instead?
thankyou!


Josh

  • Support Staff

December 13, 2018 at 8:07 am

Hi,

If you haven’t already done so, you’ll also need to copy over the event_list.php file over to /wp-content/uploads/espresso/templates.


lokimac

December 14, 2018 at 9:15 am

Thanks Josh – I did that, but no change. Do I have to amend that template too in some way? BTW, to test, I’m just changing the registration end date to the past. And then I clear the site cache. Let me know if there’s a better way to do this.
thankyou!


Josh

  • Support Staff

December 14, 2018 at 11:11 am

Hi,

You do not have to amend event_list.php, you’d only amend event_list_display.php.

Just to be sure, you’ve placed the two templates into /wp-content/uploads/espresso/templates, not into uploads/templates, correct?


lokimac

December 17, 2018 at 2:21 pm

Correct – but I found the solution. I’d forgotten that I also have the Custom Template plugin for event tables. I made the change in that template, and it all looks good. Thanks for helping me troubleshoot!

The support post ‘EE3: Change "Closed" to "Full" in 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  lokimac 11 months ago ago

Topic Tags

Tagged: ,

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.