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
Comment #1
Morris Singer commentedIt is a good request. If you submit a patch, I will review it and add it to the code.
Comment #2
ardee-1 commentedI was hoping you'd code it -- I have no patch to submit. :-(
Comment #3
maxiorelI 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.