My client requested that attachments open in new windows (target="_blank") instead of their own window so here is a quick patch to add the _blank target to the links in the WebFM provided Attachment block.
place the patch in your webfm module folder and run the following code from the terminal:
patch -p0 < webfm-target.patch
Hope this helps anyone else who might need or desire this functionality. I'd like to flesh this out more and make it a configurable option in the WebFM Settings, but haven't had the chance to, yet.
| Comment | File | Size | Author |
|---|---|---|---|
| webfm-target.patch | 1.02 KB | bmcmurray |
Comments
Comment #1
robmilne commentedThis feature has been added to 5.x--2-2
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.