CSV Export Column Order

  • Edgardo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #46797 by Edgardo
CSV Export Column Order was created by Edgardo
Hello. How do I change the order of the columns in a csv export.
Thank you

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

More
11 years 9 months ago #46810 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic CSV Export Column Order
Hi

Unfortunately, it is not possible to change the positions of the fields, they are hardcoded in the code. If you want to change it, maybe try to look at the file components/com_eventbooking/helper/data.php, the function csvExport to customize it to meet your need.

Tuan

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

  • Edgardo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago #46853 by Edgardo
Replied by Edgardo on topic CSV Export Column Order
Ok. I will try to edit it. Could you please check that this is the correct file? I dont find a data.php.

Thanks

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

More
11 years 8 months ago #46854 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic CSV Export Column Order
Sorry, what version of the extension you are using ? Maybe you are using an old version and don't see that file ?

Regards,

Tuan

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

  • Edgardo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 8 months ago #46891 by Edgardo
Replied by Edgardo on topic CSV Export Column Order
I am using: Event booking 1.5.2
Thank you

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

More
11 years 8 months ago #46892 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic CSV Export Column Order
Then the code must be in administrator/components/com_eventbooking/controller.php, method csv_export

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc