Open links Custom navigation bar in a new window

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
afilincieri
Posts: 14
Joined: Wed Sep 13, 2017 1:04 pm

Open links Custom navigation bar in a new window

Post by afilincieri »

Hello
I added a custom item in the navigation bar but I can't set the aperture on a new browser window.
There is the possibility to do so?
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Open links Custom navigation bar in a new window

Post by mkoch227 »

There is no built-in way of supporting this at this time, but you can make the following change to modify all custom nav elements:

Customer Side

Find the following in header.inc.php on line 323:

Code: Select all

<a href="<?php echo $row['url']; ?>">
Replace with:

Code: Select all

<a href="<?php echo $row['url']; ?>" target="_blank">
Staff Side

Follow the same step as above, but look in show_admin_nav.inc.php at line 136.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Post Reply