AnsweredAssumed Answered

Custom Menu Item Not Opening in New Tab

Question asked by PaulB on Apr 1, 2015
Latest reply on Apr 3, 2015 by PaulB
Sugar Enterprise 7.2.2

I am trying to add a custom link to the home menu that opens an external site in a new page. Below is the code I used in custom/modules/home/clients/base/menus/header/header.php

$module_name = 'Home';
$viewdefs[$module_name]['base']['menu']['header'] = array(
       'openwindow' => true,
        'route. => 'http"//example/com';
        'label' =>'Test Link',     
        'icon' => 'icon-th-list',
        'label' =>'LBL_CREATE_DASHBOARD_MENU',
        'icon' => 'icon-plus',
        'route' => '#activities',
        'label' => 'LBL_ACTIVITIES',
        'icon' => 'icon-th-list',

I did a quick repair and cleared the browser cache and the link appears but does not open in a new window. When I click the link, it adds the link to the end of the current URL like:

Any ideas on how to make this work either in the home menu or within the main menu links.