How to offer the GPX file for download ?

Created on 17 June 2022, about 2 years ago
Updated 21 June 2023, about 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 about 1 year ago
  • πŸ‡¦πŸ‡ΉAustria hudri Austria
Production build 0.69.0 2024