Support

Home Forums Event Espresso Premium EVENT REPORT

EVENT REPORT

Posted: October 29, 2018 at 12:27 pm

Viewing 3 reply threads


globaldisciples

October 29, 2018 at 12:27 pm

Our non-tech say event manager is struggling with the massive amount of information exported on the CSV attendee report. Is there anyway to have the option to only export certain columns at certain times? PHP is not my strong suite plus it seems I could permanently change the PHP but not make check boxes in the admin section.


Josh

  • Support Staff

October 29, 2018 at 1:41 pm

Hi,

Here’s a link to a code snippet that shows how to exclude specific columns:

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

Please note, the PHP code in that snippet is complete. You’ll only swap in the column names starting on line 14.

You’ll add the file to your site’s wp-content/plugins/ folder, then activate the plugin when it’s ready.


globaldisciples

October 29, 2018 at 1:58 pm

Thanks – I saw that answer but then every time we export a report it will be missing those columns. We want to be able to select what to export.


Josh

  • Support Staff

October 29, 2018 at 2:18 pm

What you can do is build a plugin starting from the example code, where you add an admin page of all the possible columns, with checkboxes next to each. The selected items could be stored in an array within a row of an option in the options table (see https://developer.wordpress.org/plugins/settings/option… for developer documentation).

Then, instead using of a hardcoded list of rows, the plugin will use the values stored in the option at that moment.

This way they’ll be able to go in and check/uncheck boxes, update the option, then go run the report.

Viewing 3 reply threads

The support post ‘EVENT 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