The Generic file with target formatter works great. Is it possible to create a similar one for: Download Link with target?

Comments

waverate created an issue. See original summary.

silvi.addweb’s picture

Attached patch add "Download file with target" field formatter. Please see screenshot.

silvi.addweb’s picture

Status: Active » Needs review
waverate’s picture

Status: Needs review » Needs work
StatusFileSize
new55.24 KB

Tejal,

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.

silvi.addweb’s picture

@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.

waverate’s picture

Status: Needs work » Needs review

Tejal,

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.

waverate’s picture

waverate’s picture

Title: Add target to Download Link » Add Download File with Target field formatter

I 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.

silvi.addweb’s picture

Status: Needs review » Closed (won't fix)

Changing status as Closed (won't fix) as this question itself is wrong :)