terminal42 / contao-leads

Leads extension for Contao Open Source CMS; Store and manage form data with ease!
GNU Lesser General Public License v3.0
35 stars 24 forks source link

Export without file extensions #67

Closed ghost closed 5 years ago

ghost commented 5 years ago

If I export a file (.xls/.xlsx/.csv), the file is get saved without the appropriate file extension.

OSX: filename.dsm Windows: filename

I can add the file extension manually and then open the file, but this is less suitable for customers.

Does somebody has any idea to fix it?

Info MySQL: mysqlnd 5.0.12-dev - 20150407 PHP-Version: 7.1.15 Contao: 3.5.24 Contao-Leads: 1.4.3

aschempp commented 5 years ago

You must add the file extension manually, thats how it's designed. That's especially useful if you want .txt instead of .csv or something thelike.