Posted by ardee on March 26, 2008 at 3:13pm
Jump to:
| Project: | CCK Redirection |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
The CCK add-on "Link" allows you to specify that a link be opened in a separate window, but it doesn't do redirection.
This (Redirect) CCK add-on does redirection but doesn't all you to specify that the link be opened in a separate window.
Would it be possible to add that as an option? Then if a user clicked on a teaser for a node, another window would open to the redirected site, but the window the user clicked in would stay put.
It seems like a logical and reasonable request. But if this request is denied, do you have any suggestion on how best to achieve the functionality I've described?
Thanks!
Comments
#1
It is a good request. If you submit a patch, I will review it and add it to the code.
#2
I was hoping you'd code it -- I have no patch to submit. :-(
#3
I have changed both l() function to the:
drupal_set_message(t('This node is redirected to a !r', array('!r' => l(t('remote source'), $url, array("target"=>"_blank")))));and
return l(check_plain($text), $text, array("target"=>"_blank"));but without any success. The only result is that the info "This node is redirected to" is opened in a new window. However it doesn't work for the common user.