Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Views Data
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2009 at 10:07 UTC
Updated:
10 Jul 2009 at 10:20 UTC
Hi,
If you select a field to display and set the 'Output this field as a link' properties you can't set the target (like _blank, _parent or an iframe's name). I made a small patch if you find it useful. I need you to check the patch whether it is secure and fit in the entire code base.
It gives you a fifth textfield where you can write the target in.
Thanks,
Peter
| Comment | File | Size | Author |
|---|---|---|---|
| views_6_2_link_target.patch | 1.9 KB | itarato |
Comments
Comment #1
merlinofchaos commentedComment #2
merlinofchaos commentedCommitted to 2.x and 3.x branches. Thanks!
Comment #3
itarato commentedThank you!
Comment #4
JirkaRybka commentedI don't understand the flow here enough, to re-open this issue, but I have a suspicion: Should it really be 'translatable'? It's supposed to be a HTML attribute, similar to above-seen
'link_class' => array('default' => ''),. Does this patch mean, that we're going to get a string "_blank" for localization, somewhere? (Maybe I'm just missing something.)