Support

Home Forums Event Espresso Premium Remove columns from Participation Report

Remove columns from Participation Report

Posted: December 6, 2016 at 2:32 am

Viewing 2 reply threads


quentosity

December 6, 2016 at 2:32 am

Is there some functions I can add to my theme function.php to remove columns when exporting the Participation Report / Registrations CSV Report. Or if no functions, what file would I have to edit and comment out to prevent columns from exporting. As currently it has like 30 columns and makes it annoying having to edit everytime just to see the 5 columns I want.


Tony

  • Support Staff

December 6, 2016 at 5:48 am

Hi there,

We have a few functions for this in our snippet library here:

https://github.com/eventespresso/ee-code-snippet-library/tree/master/admin

This one allows you to set the column names and the order in which they are output:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/admin/tw_ee_registration_report_limit_columns_shown.php

Note you do not need to use the translation function ( __() ) if preferred and can just pass the column names within the array:

array(
	'First Name[ATT_lname]',
	'Last Name[ATT_fname]',
	'Email Address[ATT_email]',
)

Will work just as well.

The easiest way to find the column names is is to add to the array is to look within one of the registration CSV’s you already have.


quentosity

December 6, 2016 at 1:01 pm

Hi Tony,

Thanks great amount of information managed to add some functions and now registration form is limited to only the columns I want, thanks for the prompt response.

Viewing 2 reply threads

The support post ‘Remove columns from Participation Report’ 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