Hi,
sorry, you have right, this enable upload of type "gpx" in server side validation, you need to add gpx extension also for client side.
To do this you need to add 'gpx' extensions in file /plugins/jsn/socialnetwork/app/View/Elements/misc/topic_create_script.ctp at line 28.
Thanks and sorry as well for late reply as well (busy times recently).
I had figured out what you propose (modified UploadController.php), but it didn't quite work.
When selecting trying to select the file with 'gpx' extension, I get an error popup "file.gpx has an invalid extension. valid extensions(s): jpg,jpeg,...,zip, pdf." (no gpx extension added)
There are no replies made for this post yet. However, you are not allowed to reply to this post.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »