![]() |
Forum link - target="_blank"
Hello,
I created a forum, with the option forum link. It's a link for another website. When I click on this link, the other website opens in the current window. However I would like to know how I can get it to open in a new window (i.e. target="_blank") Thanks for your answer. |
Same problem on my test forum, no idea !!
|
It is done by a piece in global.php:
PHP Code:
1 Thing is strange though (a bug??), it is passing a second parameter to exec_header_redirect (true), but this function don't take a second parameter i think. |
You would need to completely change the way it works, at the moment it sends an http 301 response back to re-direct the browser to the new location, hence it will not (and cannot) open a new page.
|
I don't understand :s
|
I guess you can make your own function if that is an internal function.
just change it to PHP Code:
PHP Code:
I'm also not sure if that will work. |
This would appear to do it for all of the links, but what if you wanted to select the link target per forum?
|
As Marco said, this is a piece of code in global.php and not a function;)
And, target="_blank" is no valid attribut in xhtml ;) it's working, but not valid! |
All times are GMT. The time now is 10:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|