How to open new Tab/window from hooks/links-navmenu?
Posted: 2019-07-09 10:05
Hi,
I've tried several methods but no luck!
How do I change this:
* You can add custom links to the navigation menu by appending them here ...
* The format for each link is:
$navLinks[] = array(
'url' => 'https://mywebsite.com/index.php',
'title' => 'Link title',
'groups' => array('group1', 'group2'), // groups allowed to see this link, use '*' if you want to show the link to all groups
'icon' => 'path/to/icon',
'table_group' => 0, // optional index of table group, default is 0
);
*/
To open my url link in a new window/tab instead of parent tab?
Cheers, Ron
I've tried several methods but no luck!
How do I change this:
* You can add custom links to the navigation menu by appending them here ...
* The format for each link is:
$navLinks[] = array(
'url' => 'https://mywebsite.com/index.php',
'title' => 'Link title',
'groups' => array('group1', 'group2'), // groups allowed to see this link, use '*' if you want to show the link to all groups
'icon' => 'path/to/icon',
'table_group' => 0, // optional index of table group, default is 0
);
*/
To open my url link in a new window/tab instead of parent tab?
Cheers, Ron