Support

Home Forums Event Espresso Premium Custom Template Add-on Table filter problem

Custom Template Add-on Table filter problem

Posted: September 3, 2014 at 2:07 pm

Viewing 3 reply threads


Steven Morris

September 3, 2014 at 2:07 pm

When using the Custom Template Add-on “Events Table” the filter feature has a problem. If an event has two categories associated with it, it will be listed in the list unfiltered. But when you filter by one of those categories it will not show up when using either.

http://stepoutandserve.com/projects/

Project 13 is an example. It has Painting & Construction associated with it, but won’t show up when filtering.


Josh

  • Support Staff

September 3, 2014 at 3:39 pm

Hi Steven,

This will be fixed in the next update of the Custom Template add-on. In the meantime the same fix can be applied by opening up the template file located in the template plugin’s templates/events-table/index.php file and change line 93 from:

<tr class="espresso-table-row cat-<?php echo $event->category_id; ?>">

to:

<tr class="espresso-table-row cat-<?php echo str_replace(',', ' cat-', $event->category_id); ?>">


Steven Morris

September 5, 2014 at 11:29 am

Thanks! Worked perfect.


Josh

  • Support Staff

September 5, 2014 at 12:25 pm

You’re welcome

Viewing 3 reply threads

The support post ‘Custom Template Add-on Table filter problem’ 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