OpenNetAdmin

Track. Automate. Configure.

Home About Features Community Develop
Download this project as a tar.gz file

Change the interface di

zxy5207

11-06-2012 21:32:09

Hi,matt
I want to change the Interface Attributes " Last Response" into "SN", and i can edit the content as the "description".
I have try to edit the "edit_interface.inc.php", "list_interfaces.inc.php", "display_interface.inc.php" in "/ona/www/winc/", And already have changed the "Last Response" into "sn"(varchar(255) utf8_general_ci) in DB.
But it is does not work, can you give me some instruct?
Thank you!

Matt

11-06-2012 22:03:34

I would highly suggest not changing this field to something else. there are several parts of the system that use it and it wont be as simple as just changing the DB and those few php files. Plus when a new release comes out you will have to make changes to the files again.

What is this field for? is it Serial Number? Another thought would be to use the custom attributes system to define information. Its not always the best option but it is available to use for custom things.

zxy5207

11-06-2012 23:44:35

I would highly suggest not changing this field to something else. there are several parts of the system that use it and it wont be as simple as just changing the DB and those few php files. Plus when a new release comes out you will have to make changes to the files again.

What is this field for? is it Serial Number? Another thought would be to use the custom attributes system to define information. Its not always the best option but it is available to use for custom things.

I see. I plans to make this field for Serial Number, If it is so difficult, i will try to use custom attributes sysytem, thank you!