Hello,
As the title states I would like to add the location field to my network cards so that when I look at all the items at a location the network cards will show. I have successfully added the network card to the items list on location and now I am trying to add the location field to the card I am not very good with php ( very limited experience ) but I figured with looking at the other files for a reference I would be able to do it. so far I have added
['name' => 'locations_id',
'label' => __('Location'),
'type' => 'dropdownValue'],to the file glpi/inc/devicenetworkcard.class.php and now the field does appear when I look into a network card BUT when I click the drop down and add a location and save it it doesn't actually end up saving it.. I hoped I could do this easily but it seems like I will have to put a lot of effort into this.. i'm hoping somebody here can help me achieve what I want to achieve.
Any help would be greatly apricated
thanks my issue has been fixed.
]]>As the title states I would like to add the location field to my network cards so that when I look at all the items at a location the network cards will show. I have successfully added the network card to the items list on location and now I am trying to add the location field to the card I am not very good with php ( very limited experience ) but I figured with looking at the other files for a reference I would be able to do it. so far I have added
['name' => 'locations_id',
'label' => __('Location'),
'type' => 'dropdownValue'],
to the file glpi/inc/devicenetworkcard.class.php and now the field does appear when I look into a network card BUT when I click the drop down and add a location and save it it doesn't actually end up saving it.. I hoped I could do this easily but it seems like I will have to put a lot of effort into this.. i'm hoping somebody here can help me achieve what I want to achieve.
Any help would be greatly apricated
]]>