Please post all pre-sales questions of all products on this forum

EventBooking csv_export content type

More
9 years 1 month ago #85313 by Colin
Hi folks,
We've taken over hosting of a website that uses the event booking module. It was previously running on an IIS box and is now on our Linux platform and almost everything has moved over fine.
The only thing not working so far is the "Export Registrants" option that loads index.php?option=com_eventbooking&task=csv_export
This does generate a csv file, however it doesn't seem to be setting a content type that instructs the web browser to download the file rather than display it in a browser. When the user tries to save it, they get all the line breaks stripped so it is a complete mess.
I can't see any settings to control this and adding type handlers in .htaccess seems to be ignored. Presumably Joomla or the module is setting its own one and needs to be told to do it properly.
Any pointers please?

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

More
9 years 1 month ago #85339 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic EventBooking csv_export content type
Hi Colin

Content-Type is set by the code in the extension (in the file components/com_eventbooking/helper/data.php, method csvExport)

I don't know why it doesn't work on your site, you should not have to control it using .htaccess. You can submit a support ticket sending us super admin account of your site so that we can check and correct it for you

However, before that, we would need to verify the order. Please submit a support ticket and I will guide you further

Tuan

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

Moderators: Tuan Pham NgocGiang Dinh TruongDang Thuc Dam