Support

Home Forums Event Espresso Premium Available Seats Calendar Table Template

Available Seats Calendar Table Template

Posted: January 16, 2014 at 10:29 pm

Viewing 2 reply threads


Edgar Antillon

January 16, 2014 at 10:29 pm

How can I add “Available Seats” in the Calendar Table Template?


Dean

January 17, 2014 at 1:24 am

Hi Edgar,

It will require a couple of code changes, but nothing too heavy.

In the index.php do a search for colspan and change it from 3 to 4 – this just increases the width of the month bar to accommodate a new column.

In that same code area you can add in a new header to the table:

<th class="th-tickets"><?php _e('Available Seats','event_espresso'); ?></th>

Obviously place it in the order you need it to go.

Scroll down a bit until you come to line 122, this is where the table cells for the content is. Add the following to that code, place it in the same order as where you placed the header

<td class="td-event-register"><?php echo do_shortcode('[ATTENDEE_NUMBERS event_id="'.$event->id.'" type="available_spaces"]');?></td>

An example http://take.ms/7y9Os


Edgar Antillon

January 17, 2014 at 2:43 pm

Thank a million. I had to align it to the middle as it was too close to the “Register Now” button. Aside from that it worked as needed. Thanks again!

Viewing 2 reply threads

The support post ‘Available Seats Calendar Table Template’ 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