My site uses Entity Reference heavily. When user clicks one reference item, I need it to open in a new tab or new window. I understand it is not recommended, but it is really frustrating for users to go back and check another reference item. I have searched web but didn't find clear solution. I understand that there is one issue for the same request reported How to change the link target in a entity reference display? over two years ago, but I have trouble to understand the solution in reply. Could anyone kindly tell me how to modify the code in this module or in the theme?

I have been searching for solution for months. I'd greatly appreciate for your help...

Regards,

Comments

NWOM’s picture

Category: Support request » Feature request
Priority: Critical » Normal
Status: Active » Closed (duplicate)
Issue tags: -Entity Reference, -new tab, -new window
Related issues: +#2691943: Need to display field with link with attributes target with _blank

Marking as duplicate. Please see #2691943: Need to display field with link with attributes target with _blank. Also removed tags (See: Tag Guidelines).

paintingguy’s picture

I would like to be able to open an entity link in a new window. Is this possible? Thanks!