Support

Home Forums Custom Files Add-on (EE3) My Events Table – Remove Columns?

My Events Table – Remove Columns?

Posted: August 18, 2013 at 12:13 pm


Robert

August 18, 2013 at 12:13 pm

Greetings!

I would like to remove the “Type” and “Time” columns in the My-Events table. I don’t have any problems removing the columns through the custom files, but when I delete the <th> and corresponding <td> elements, the sorting and Live Search Filter features disappear. Is there a way to remove those columns without losing those features?

Thanks!
Robert
[version: 3.1.34.1.P and latest plugins]


Dean

August 19, 2013 at 12:50 am

We have an open ticket to make some changes to make hiding columns easier, but right now yeah all you can do is edit the core file.

What you are missing is that you edited the HTML, but there is javascript affecting it too. If you find the script near the bottom of the my_events_page.php file you will see a short list of “null”‘s

If you comment two out (equivilent number to the lost columns) it will reactivate the live search box.

e.g. http://d.pr/i/QD4h


Robert

August 19, 2013 at 3:56 pm

That did it – Thanks!

The support post ‘My Events Table – Remove Columns?’ 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