Menu

Label Change in Config Item

2014-02-03
2014-02-06
  • barracuda1944

    barracuda1944 - 2014-02-03

    Hi there,

    i would like to rename the name of asset number in the Config Item IP phone on the HTML page. The functionality behind it should stay. Only the display name should be changed. When I go to display in the browser source code, I find this line of code (td class="label" span title="" Asset Number / span / td td 123 / td) but I find nothing in the files of iTop.

    Thanks for help Tobias

     

    Last edit: barracuda1944 2014-02-04
  • Alexander K.

    Alexander K. - 2014-02-03

    Hi,

    the class IPPhone is derived from the class PhysicalDevice, have a look at:
    "datamodels/2.x/itop-config-mgmt/en.dict.itop-config-mgmt.php" (english translation):

    'Class:PhysicalDevice/Attribute:asset_number' => 'Asset number',
    

    Try to add the following line in section IPPhone:

    'Class:IPPhone/Attribute:asset_number' => 'My Asset number',
    

    Finally re-run setup!

    Hope that helps...

    Alexander

     
  • barracuda1944

    barracuda1944 - 2014-02-04

    Hi Alexander,

    thanks for idea, but it not work. I take a snapshot what i want to renamed. It's the field with the red border.
    http://www.picfront.org/d/94zz

    Tobias

     
  • Alexander K.

    Alexander K. - 2014-02-05

    Its not working because obviously your preferred language is german, not english.

    You have to modify the german localization file "../datamodels/2.x/itop-config-mgmt/de.dict.itop-config-mgmt.php".

    Alexander

     
  • barracuda1944

    barracuda1944 - 2014-02-06

    Hi Alexander,

    big thanks for help. Now it works fine.

    Thanks Tobias

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.