Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Download File


Go to End


1330 Views

Avatar
Tatoo

Community Member, 3 Posts

13 May 2011 at 3:29am

Hi,

I create a web site and i have a type of page with a google map rout, but i use the adress than google map create to display the map and i want use a gpx file to display the map i find a code but i don't now how download the file. I create a class and i add a FileField but ! don't save the file...

Sorry for my english for french this in frenc my problem

Bonjour,
Je suis en train de créé un site et pour certain de mes types de page il me faut une carte google qui affiche un itinéraire, mais pour le moment j'utilise l’adresse donnée par google map or j'ai des fichiers gpx et j'aimerai utiliser directement mon fichier gpx pour afficher la carte et le mettre à télécharger par la même occasion. J'ai essayer d'ajouter a fileField dans ma class mais lorsque je sélectionne le fichier et que je charge il n'a pas l'air de l'enregistrer quelqu'un pourrait-il m'éclairer, c'est peut-être moi qui n'utilise pas correctement le FileField mais je ne l'ai jamais utiliser avant. Sinon j'ai penser que c'était peut-être dur au format gpx mais je vois pas pourquoi...

Merci d'avance

.GPX = fichier repris d'un gps