Support

Home Forums Event Espresso Premium Events with multiple Categories not showing

Events with multiple Categories not showing

Posted: September 15, 2014 at 5:40 am

Viewing 5 reply threads


Alexander Müller

September 15, 2014 at 5:40 am

hey!

I’ve a problem when showing assigning multiple categories to one event.
For example:
I assign category1 AND category2 to an event, the event_table is NOT showing it. If I assign just one category, it works fine – also the filtering works fine.

Is there a way to add more categories to one event and it’ll be displayed correctly?

Thanks!


Tony

  • Support Staff

September 15, 2014 at 10:32 am

Hi Alexander,

Which version of both Event Espresso and the Event Table Template are you currently running?

You can find this within Dashboard -> Plugins.


Alexander Müller

September 15, 2014 at 11:24 am

hey!

I’m using Event Espresso – 3.1.36.5.P Version 4.0 – unfortunately I can’t update because I changed some core-files regarding the appearance… for example additional table columns.


Josh

  • Support Staff

September 15, 2014 at 11:52 am

Hi Alexander,

The issue you’re reporting is likely stemming from the custom table view add-on. Since you’ll likely not be updating to the version that includes the fixes, you can apply the fix manually. In the event table template file around line 76 you’ll see something like this:

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

you’ll change it to this:

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


Alexander Müller

September 15, 2014 at 12:10 pm

thanks a lot Josh, worked perfectly for me!


Josh

  • Support Staff

September 15, 2014 at 12:21 pm

You’re welcome.

Viewing 5 reply threads

The support post ‘Events with multiple Categories not showing’ 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