Page 1 of 1

Nagivs customization

Posted: Thu Jun 25, 2015 9:00 am
by btemple
Does anyone know how to change the name " Map Index " to something different like " Companyname Infrastructure " . My boss would like a more custom look .....

Re: Nagivs customization

Posted: Thu Jun 25, 2015 10:30 am
by ssax
*** Note: This will change it for all languages.

The easiest way (without changing a binary file) would be for you to edit this file:

Code: Select all

/usr/local/nagvis/share/server/core/classes/GlobalIndexPage.php
Comment out (around line 276):

Code: Select all

$arr['lang_mapIndex']      = $this->CORE->getLang()->getText('mapIndex');
And add this below it:

Code: Select all

$arr['lang_mapIndex']      = "Company Infrastructure";
So it looks like this:

Code: Select all

#$arr['lang_mapIndex']      = $this->CORE->getLang()->getText('mapIndex');
$arr['lang_mapIndex']      = "Company Infrastructure";

Re: Nagivs customization

Posted: Thu Jun 25, 2015 10:45 am
by btemple
that worked thank you !