Reviewed & tested by the community
Project:
URL field
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2014 at 08:19 UTC
Updated:
12 Jul 2017 at 20:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
badrun commentedComment #2
gbelot2003 commentedI did it on the easy and (not recomended) way, override the module, on the line 293, there is the url_field_formatter_prepare_view function, just add this code
This feature is a "must" on this module, I dont understand why they didn't incluide it at first....
Comment #3
Owl Solo commentedgbelot2003,
Thank you for the code. I couldn't get it to work.
I just wanted to lend my voice in support of adding this feature! Please add!!!
Comment #4
nitinsp commentedIn content type manage display tab added checkbox under url filed for target="_blank". If user enable this checkbox and update the setting of url field and save mange display setting all url in perticular content will be open in new tab.
Comment #5
nitinsp commentedComment #6
nitinsp commentedComment #7
nitinsp commentedComment #9
nitinsp commentedIn content type manage display tab added checkbox under url filed for target="_blank". If user enable this checkbox and update the setting of url field and save mange display setting all url in perticular content will be open in new tab.
Comment #11
nitinsp commentedUpdated formatting, please review the latest patch #11.
Comment #12
nitinsp commentedcorrect the formatting, please review the latest patch #12.
Comment #13
nitinsp commentedAdded some missing code and correct the formatting, please review the latest patch #13.
Comment #14
nikunjkotechaComment #15
nikunjkotechaComment #16
jcnventuraNote that #1914126: Add optionale link attribute: target implements this in a more generic fashion, instead of only supporting "_blank", it also supports "_self", "_parent" and "_top".