Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
-FP Posted January 23, 2016 Posted January 23, 2016 So I uploaded a file into an upload field... and well, files get names that are not user friendly. Is there a way to rename the file when the user downloads it? Like for instance give it the name of the record it's inserted in.
Adriano Faria Posted January 24, 2016 Posted January 24, 2016 The file is renamed to the original name when downloaded.
-FP Posted January 24, 2016 Author Posted January 24, 2016 31 minutes ago, Adriano Faria said: The file is renamed to the original name when downloaded. I'm manually inserting the download link in the template, like this: <a href="{$record->customFieldDisplayByKey('file_field', 'raw')|raw}">Download</a> But the file name is well... some numbers and letters, not just the original uploaded file name.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.