PLEASE : Semicolon for export registrants

  • Bernardo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #28512 by Bernardo
Joomla : 2.5.4
Event Booking : 1.5.3


From each event in the front-end, i can 'Export registrants'. but when exporting a report to CSV it used a comma as field delimiter but I would like to use a semicolon instead. I did not find a way to change the delimiter by default.

I set the item EB_CSV_DELIMITTER with semicolon in EB_GENERAL in CONFIGURATION, but I still exported comma separated data from the view of each course in the front-end.

PLEASE HELP MEEEEEEEEEEEEEEEEEEEE

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

More
11 years 1 month ago #28542 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: PLEASE : Semicolon for export registrants
Hi

At the moment, the config option only affect the export function in the back-end. I will try to spend time this weekend to work on it and make it works in the front-end as well. So you can remind me about this function on Monday next week.

Tuan

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

  • Bernardo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #28558 by Bernardo
Replied by Bernardo on topic Re: PLEASE : Semicolon for export registrants
Thank you very much, this is related to my topic comment field, hopefully it solves.

Remember you on Monday

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

  • Bernardo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 month ago #28759 by Bernardo
Replied by Bernardo on topic Re: PLEASE : Semicolon for export registrants
Tuan, I remember you please enable this function for event booking.

thanks

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

  • Andreas Glenthøj
  • Offline
  • Senior Member
  • Senior Member
More
11 years 3 weeks ago #29295 by Andreas Glenthøj
Replied by Andreas Glenthøj on topic Re: PLEASE : Semicolon for export registrants
I would also very much like this feature. Could you make the solution available in public, when you finish it?

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

More
11 years 3 weeks ago #29326 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: PLEASE : Semicolon for export registrants
Hi

Please get this file, unzip it, then upload to components/com_eventbooking folder of your site. After that, it will work as expected .

Regards,

Tuan
Attachments:
The following user(s) said Thank You: Andreas Glenthøj

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

  • Andreas Glenthøj
  • Offline
  • Senior Member
  • Senior Member
More
10 years 8 months ago #35082 by Andreas Glenthøj
Replied by Andreas Glenthøj on topic Re: PLEASE : Semicolon for export registrants
does this controller.zip file also work for the new 1.61 version? I used it for the old version, but after updating, the export from the frontend uses comma again - regardsless of the backend setting...

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

More
10 years 8 months ago #35091 by FrankM
Open the file ../components/com_eventbooking/controller/controller.php

Search for this line
Code:
$csv_output .= "\n\"".implode ("\",\"", $results_arr)."\"";

change to
Code:
$csv_output .= "\n\"".implode ("\";\"", $results_arr)."\"";

Save file and you are ready ;)

Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5

Sorry, english isn't my native language.

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

More
10 years 8 months ago #35098 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: PLEASE : Semicolon for export registrants
Will try to add support for this modification within next week. Will add it to the core download package.

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc