How to offer the GPX file for download ?

Created on 17 June 2022, over 2 years ago
Updated 21 June 2023, over 1 year ago

I created a "Geolocation GPX File" field to display a track in a Views block.

The problem is that there is no way for the visitor to download the GPX file on their phone to use it with a topographic application.

How to attach the GPX file to the views or to the field ?

💬 Support request
Status

Closed: works as designed

Version

3.10

Component

Geolocation Field / Backend

Created by

🇫🇷France zenimagine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium jjgw

    see how to solve

    In your content type, use a standard file type for your gpx

    The content of the .htaccess file in .../sites/default/files/gpx-files:

    <FilesMatch "\.(?i:gpx)$">
         Header set Content-Disposition attachment
    </FilesMatch>
    
  • Status changed to Closed: works as designed over 1 year ago
  • 🇦🇹Austria hudri Austria
Production build 0.71.5 2024