- Posts: 1
- Thank you received: 0
Please post all pre-sales questions of all products on this forum
EventBooking csv_export content type
- Colin
- Topic Author
- Offline
- New Member
-
Less
More
9 years 1 month ago #85313
by Colin
EventBooking csv_export content type was created 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?
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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
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
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 Ngoc, Giang Dinh Truong, Dang Thuc Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.