Support

Home Forums Event Espresso Premium Categories Filter not working

Categories Filter not working

Posted: September 4, 2014 at 3:59 pm


Dianna

September 4, 2014 at 3:59 pm

WordPress Version:
3.9.2
PHP Version:
5.4.30
MySQL Version:
5.5.37
Event Espresso Version:
4.3.1.p
WordPress Address (URL):
http://swooshtech.com

I have read some of the other “filter not working” threads but wasn’t able to solve my issue. I have 3 areas of my site that use the tables add-on to list events.

The categories filter does not work at all on the first one.
http://swooshtech.com/training/training-schedule/

When you choose a category on the other two areas all the info disappears.
http://swooshtech.com/webinars/

Any info would be appreciated.
Thanks


Dean

September 5, 2014 at 12:37 am

Hi Candis,

Are you using the latest version of the Events Table View addon, version 1.2?


Dianna

September 6, 2014 at 10:19 am

Yes


Tony

  • Support Staff

September 8, 2014 at 5:56 am

Hi Candis,

We’ve added a fix to make Javascript for the dropdown more specific, this will be included within the next update to the Events Table Template Add-on.

In the meantime you can this fix your by opening up /wp-content/plugins/eea-events-table-view-template-1/scripts/espresso_events_table_template.js

On line 4 you’ll find:

var ee_filter_cat_id = $("option:selected").attr('class');

Replace that with:

var ee_filter_cat_id = $(this).find("option:selected").attr('class');

That will fix webinars page.

The training-schedule page does not seems to be en-queueing the Events Table JavaScript. Can you please edit that page and just click Update, then re-check if the dropdown works correctly.

Also can you post the full shortcode in use on that page please?


Dianna

September 8, 2014 at 12:55 pm

Thanks that made everything work including the training page.

The support post ‘Categories Filter not working’ 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