Support

Home Forums Event Espresso Premium EE4 Event Table Issues/Questions

EE4 Event Table Issues/Questions

Posted: April 21, 2016 at 1:52 pm

Viewing 7 reply threads


Erica Vandiver

April 21, 2016 at 1:52 pm

Hey guys, a few mysteries for you today:

1. How can I add a column to the event table showing the number of spaces available?

2. Currently, the table shows “Sold Out” whether the event’s sales are closed (expired) or it was sold out. Can this be fixed?

3. Under my table, with no category selected, the page numbers are left-aligned and go to the middle of the page/table before breaking to a second row. Can this be fixed?

4. Last one on this topic! Every other row is highlighted in the table. If you choose a category, the highlighting doesn’t go away or re-render, so random rows are blue or white, which confuses our staff & students. Is there a way to fix that, or just turn it off?

Thanks!


Tony

  • Support Staff

April 22, 2016 at 6:37 am

Hi there,

1. How can I add a column to the event table showing the number of spaces available?

The events table doesn’t include any functionality to display the remaining tickets so you will need to create your own template for this.

You can copy the espresso-events-table-template.template.php template file from the original plugin and place it within the /wp-content/uploads/espresso/templates/

Then add any additional columns you prefer to that file. For available tickets I would recommend looking into the event_tickets_available() method within the EVent_view helper.

2. Currently, the table shows “Sold Out” whether the event’s sales are closed (expired) or it was sold out. Can this be fixed?

Thank you for reporting this, I have created a ticket to investigate further.

3. Under my table, with no category selected, the page numbers are left-aligned and go to the middle of the page/table before breaking to a second row. Can this be fixed?

Can you link me to a page I can view this on please?

4. Last one on this topic! Every other row is highlighted in the table. If you choose a category, the highlighting doesn’t go away or re-render, so random rows are blue or white, which confuses our staff & students. Is there a way to fix that, or just turn it off?

You can remove it with some custom CSS:

tr.espresso-table-row.footable-odd {
    background: none;
}

That should remove it, although depending on the background you may need to specify a color.


Erica Vandiver

April 22, 2016 at 8:21 am

Thanks! I will try your suggestions. For #3, go to https://online.stlcc.edu/


Erica Vandiver

April 22, 2016 at 8:29 am

Just a note, the site will be very slow today for security scans 🙁


Erica Vandiver

April 22, 2016 at 9:55 am

background-color: #FFF; was needed on #4, in case anyone is ever looking into this later


Tony

  • Support Staff

April 22, 2016 at 1:11 pm

#3 is happening because your theme is applying margins to Li elements – http://take.ms/KTxV9

You can override that using:

.footable .pagination > ul > li {
    margin: 0;
}

The pagination links should then looks like this – http://take.ms/LaoOa


Erica Vandiver

April 22, 2016 at 1:18 pm

Perfect! Thanks!


Tony

  • Support Staff

April 22, 2016 at 1:32 pm

You’re most welcome.

Please do let us know if you have any further problems 🙂

Viewing 7 reply threads

The support post ‘EE4 Event Table Issues/Questions’ 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