click on link - new tab or blank page

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

click on link - new tab or blank page

Post by bastiaan.c »

Hi,

If I put a link in the ticket system and I click on it it acts like a _self . I would like to click on a link and that it would open in a new tab or page ( _blank )
is this possible??

Thanks for all you do :-)
Klemen
Site Admin
Posts: 10135
Joined: Fri Feb 11, 2005 4:04 pm

Re: click on link - new tab or blank page

Post by Klemen »

It's not recommended according to W3C standards (let user decide where to open a new link), but if you wish you can try changing this in inc/common.inc.php

Code: Select all

<a href=\"$url\"$class>
to

Code: Select all

<a href=\"$url\" target=\"_blank\"$class>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
bastiaan.c
Posts: 142
Joined: Sat Jun 22, 2013 9:24 pm

Re: click on link - new tab or blank page

Post by bastiaan.c »

Thanks, you're great :-) !!
Post Reply