Support

Home Forums Event Espresso Premium Custom View Template not filtering categories

Custom View Template not filtering categories

Posted: February 13, 2014 at 3:47 pm

Viewing 6 reply threads


Chris Chavez

February 13, 2014 at 3:47 pm

WP current. EE3 current. hoosierhillsbaptistcamp.org/registration.

When choosing the filter to group or individual nothing happens at all.
There are only two to choose from now, but of course, I am adding events to it 🙂


Tony

  • Support Staff

February 13, 2014 at 5:04 pm

Hi Chris,

Can you open /plugins/espresso-custom-templates/templates/events-table/index.php, and change line 93 to:

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

To see if that helps please?


Chris Chavez

February 13, 2014 at 6:15 pm

What text of line will it replace?


Tony

  • Support Staff

February 14, 2014 at 2:53 am

On line 93 you should currently have

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

Change that to be

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


Dean

February 14, 2014 at 3:41 am

The original line reads:

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


Chris Chavez

February 14, 2014 at 9:42 pm

I cannot find the lace your are referring to??? I don’t see /plugins/espresso-custom-templates/templates/events-table/index.php anywhere under edit plugins?


Chris Chavez

February 14, 2014 at 10:38 pm

Just realized…you’re referring to FTP. I’m not using that; the site administrator has that. Any way to do the editing without FTP?


Dean

February 17, 2014 at 12:50 am

Hi Chris,

You will need FTP or cPanel/Plesk (site control panel) access to edit the file as it is within a few folders and WordPress doesn’t allow you to go that deep.

I have created a developer ticket to look into this, and hopefully resolve it in a future release (I cannot give timescales, sorry).

Viewing 6 reply threads

The support post ‘Custom View Template not filtering categories’ 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