The Generic file with target formatter works great. Is it possible to create a similar one for: Download Link with target?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | link.jpg | 55.24 KB | waverate |
| #2 | Before_applied_patch.png | 27.73 KB | silvi.addweb |
| #2 | After_applied_patch.png | 36.53 KB | silvi.addweb |
| #2 | add_target_to_download-2819217-2.patch | 5.55 KB | silvi.addweb |
Comments
Comment #2
silvi.addweb commentedAttached patch add "Download file with target" field formatter. Please see screenshot.
Comment #3
silvi.addweb commentedComment #4
waverate commentedTejal,
Thank you very much for the quick reply.
I think your current patch works very similar to the existing Download File option.
I was looking for a target formatter that works similar to Download Link in that I can specify the link text, but in addition I can also have the file open in a new tab/window.
Comment #5
silvi.addweb commented@waverate,
Thanks for clarification. It seems that download link option is coming from "File Entity (fieldable files)" module. Please confirm this. If so, please move this issue in proper module issue queue. I will be happy to help once you confirm.
Comment #6
waverate commentedTejal,
Nice catch. Really sorry about that.
I'll leave this issue open here in case anyone needs this feature request; and open a new issue in the File Entity queue.
Comment #7
waverate commentedComment #8
waverate commentedI think this title matches the patch provided better than the original.
New issue opened at #2820690: Add target to Download Link to reflect the feature request.
Comment #9
silvi.addweb commentedChanging status as Closed (won't fix) as this question itself is wrong :)