Support

Home Forums Event Espresso Premium Available spaces not showing for events.

Available spaces not showing for events.

Posted: May 6, 2013 at 2:00 pm


Carina Hume

May 6, 2013 at 2:00 pm

Recently we added a number of events for our summer camps and workshops. For some reason none of these events are displaying how many spaces are available for the events. Any ideas?

WP: 3.5.1

EE: 3.1.32.P


Josh

  • Support Staff

May 6, 2013 at 3:06 pm

Hi Carina,

If you look down the event list on this page:

https://www.crookedtree.org/event-registration/

You’ll see that the events where it says “Register” has the Available Spaces text. The events where it says “View Details” does not. There is a setting in the event editor that lets you set the registration form to display. If the registration form is set to display, it will display the available spaces text. If the registration form is set to not display, the available spaces text does not display. In some use cases (like when the event listing is there for informational purposes eg. no registration necessary, it doesn’t make sense to display an Available Spaces count, so it’s tied to the Show registration form option).

You can change the event to display a registration form or alter the template or make it display the available spaces in both cases by opening up /templates/event_list_display.php and changing the line that says (currently line 114) :

if ($display_reg_form == 'Y' && $externalURL == '') {

to

if ($externalURL == '') {


Carina Hume

May 7, 2013 at 9:01 am

That works! Thanks Josh.

The support post ‘Available spaces not showing for events.’ 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