Support

Home Forums Event Espresso Premium Display event after num_attendees >=get_number_of_attendees_reg_limit

Display event after num_attendees >=get_number_of_attendees_reg_limit

Posted: March 18, 2014 at 1:55 pm

Viewing 1 reply thread


wdaco

March 18, 2014 at 1:55 pm

Does anyone know the code to display an event after the max number of attendees has been reached? From a closed topic, this was the answer:

Yes it should be possible to do this, but would require editing of the registration_page.php template in order to show the event details above that message.

What code needs to be added?


Josh

  • Support Staff

March 19, 2014 at 2:34 pm

Hi Mary,

It depends on what you want to be displayed. I can imagine that you don’t want a registration form displayed, which is normally what gets displayed there if the event is not full. If you look in registration_page.php after the if statement on line 236 you’ll see the html and PHP that displays what’s normally there when an event is full. You can add more information there by copying over code from registration_page_display.php if you’d like.

Viewing 1 reply thread

The support post ‘Display event after num_attendees >=get_number_of_attendees_reg_limit’ 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