× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

download track

fingeradmin replied the topic: download track

7 years 8 months ago

Hi Mauro,

(sorry the late reply, i have been on holidays)

I would always recommend providing the ZIP file option.
If you want the plain GPX file available for download, you can add this line:

AddType application/octet-stream .gpx

to your .htaccess file on your server.

I found this here:
css-tricks.com/snippets/htaccess/force-f...not-open-in-browser/

In HTML5, there would be an alternative solution, namely to use the new "download" attribute for the a href link. Unfortunately this does not work in all browsers (specifically Safari doesn't support it), so the .htaccess solution looks better to me.

cheers, Frank

Last edit: 7 years 8 months ago by fingeradmin.

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

maurcalvo created the topic: download track

7 years 9 months ago

The download worked, now does not work.
when I click on the download button it open a window containing the xml file.
How to solve this problem?

If I set Download as ZIP to yes all works fine. *******added after


GPXTrackMap - Version 1.3.3
Joomla! 3.5.1 Stable

best regards

mauro calvo

Attachments:
Last edit: 7 years 9 months ago by maurcalvo.

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

Powered by Kunena Forum