Included ZCI information (Computer info)

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Included ZCI information (Computer info)

Post by cas »

Since we use mantis as our Helpdesk, we wanted to have some information available about the workstations. Not willing to invent the wheel, we looked ZCI.

This is a very nice tool for gathering hardware & software information from all your machines.

In Mantis I simply added a custom field called 'Machine' and adjusted the code for displaying the custom field such that it becomes a hyperlink for this specific custom field.

For now a simple solution. perhaps usefull for others.

Cas
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

I totally agree that integration with ZCI will be a useful feature. I think the best way to achieve it is to support defining new custom fields using custom functions. The custom functions should allow the definition of a new custom field type (in this case type 'machine'). The custom functions should populate the list of machines in the set/update, print it in the case of view (with the hyperlink), etc.

The idea is to be able to define such custom fields types in a separate PHP file and include such file(s) in custom_functions_inc.php.

Regards,
Victor
Mantis to Go?
http://www.futureware.biz/mantisconnect
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Post by cas »

I really like that idea, it would make Mantis even more flexable than today.
Would it not be just as simple to allow a custom function to be connected to any given custom field without defining new types ? Do not directly see the reason for definingnew type but you probably gave it quite some thoughts already.

Cas
Post Reply