Hello,
I noticed that when tickets with links are created the links open in the same window of the ticket by default, how can we change this so the links in tickets open in a new window by default instead?
Thanks.
How to Open Links in New Window by default?
Moderator: mkoch227
-
- Posts: 6
- Joined: Fri Apr 22, 2022 3:05 pm
Re: How to Open Links in New Window by default?
I didn't test this, but most likey editing the /inc/common.inc.php would do the trick.
Find
Change it to
(this will only affect new tickets, not existing ones)
Find
Code: Select all
"$whitespace<a href=\"$url\"$class>$text</a>$append"
Code: Select all
"$whitespace<a href=\"$url\"$class target=\"_blank\">$text</a>$append"
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools