I would like the reference to redirect page opened in a new window.
I mean this link (http://site.com/ext_link?url=http://www.other-site.com/) will have attribute target="_blank".
Well to make this possibility optional
I would like the reference to redirect page opened in a new window.
I mean this link (http://site.com/ext_link?url=http://www.other-site.com/) will have attribute target="_blank".
Well to make this possibility optional
Comments
Comment #1
off commentedI have solved this problem, having edited a code
On line 220
I have replaced a line
return 'href="'. $url .'"';
with
return 'target="_blank" href="'. $url .'"';
I would like to see this change in the final version of the module, but I understand that the given variant will approach not to all.
If there is a possibility to make it on a choice, I would be very grateful!
Comment #2
zzolo commented@OFF
This is probably a good feature to have. There are two ways to implement this: 1) Have more options to theme the link and other parts, or 2) Add some administrative options. Or both.
It may be some time before I actually get around to enhancing this module, but it sounds like you found a solution.
--
zzolo
Comment #3
zzolo commentedComment #4
off commentedAnd what I must do now?
Comment #5
zzolo commentedIf you want, you can create a patch. http://drupal.org/patch/create
Or you can just wait until, I get around to doing some work on this module.
Comment #6
off commentedmy english very bad..
i just wait.. thanks
Comment #7
zzolo commentedThis feature has been added as an admin option.
Comment #9
off commentedzzolo, good news! but its not working for me..