export cvs

  • erinchantz@yahoo.com
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 7 months ago #11357 by erinchantz@yahoo.com
export cvs was created by erinchantz@yahoo.com
Is there a way to get rid of the fields in the cvs file that I am not using. I only want the custom fields I added to show up when I export the registrants?

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #11361 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: export cvs
Hi

Unfortunately, you cannot choose the fields you want for the export (the system will show all the core fields + the custom fields in the export) . So I think you can just still export it, and then open the file in an office program (like MS Excell) and delete the columns you don't want. That should not take much time !

Tuan

Please Log in or Create an account to join the conversation.

  • erinchantz@yahoo.com
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 7 months ago #11368 by erinchantz@yahoo.com
Replied by erinchantz@yahoo.com on topic Re: export cvs
I read in another forum if I change controller.php, I can get them out. How do I do that?

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #11378 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: export cvs
@erinchantz@yahoo.com : You need to know alitle about PHP in order to modify the code. If you know PHP, please open the file administrator/components/com_eventbooking/controller.php, looks for csv_export function and remove the fields you don't want. It should be easy if you know PHP code !

Hope this help !

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc