The current default is to not display the event but the closed notification.
The only away around that is to modify the template files.
In the registration_page.php file on line 262 you will see
if ($num_attendees >= $reg_limit) {
directly below that add
require( $template_name );
This will show the details and form as well as the closed message.
Now it is likely that you don’t want the form to show up. You could manually edit the event and turn the form off, or you can add the following code to hide it automagically.
and rtight near the bottom, around line 295 there is a
<?php } ?>
above the closing </form> tag. Add an extra } so it will read
<?php } } ?>
Make sure you copy these files to your uploads/espresso/templates folder before modifying. And note that if the template files change in the future you may need to tweak the modified files to get them to work.
Viewing 1 reply thread
The support post ‘How to Display a Class After the Attendee Limit is Reached’ 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.