Topic: Changing Category Name

I want to change one of the default categories in the Create Asset Module menu.  It would make my life a lot easier if I could change "Asset Model Code" to say something different, since I am not using asset model code at all.  Is there any way to do this?

I have no problem going into the database if I need to to change it, I just need to know where to look.

Thanks

Re: Changing Category Name

I would love to know how to do this too.  Any ideas?

Re: Changing Category Name

There is not a simple way to do this. Because this is a built-in field, it is found in numerous places in the application. But, I ran a search for 'Asset Model Code' in the entire codebase and came up with the following list. If you were to change the strings in these 10 places, it SHOULD change it system-wide, although it's very possible that I'm missing one or two.

-- Hunter

C:\xampp\htdocs\tracmor\assets\asset_edit_control.inc.php (41)         $arrAssetFields[] = array('name' => 'Asset Model Code:',  'value' => $this->lblAssetModelCode->Render(false) . ' ');

C:\xampp\htdocs\tracmor\assets\asset_model_edit.php (162)         $this->lblAssetModelCode->Name = 'Asset Model Code';

C:\xampp\htdocs\tracmor\assets\asset_model_edit.tpl.php (46)             $arrAssetModelFields[] = array('name' => 'Asset Model Code:', 'value' => $this->lblAssetModelCode->Render(false) . $this->txtAssetModelCode->RenderWithError(false));

C:\xampp\htdocs\tracmor\assets\asset_model_list.php (102) ...      $this->dtgAssetModel->AddColumn(new QDataGridColumnExt('Asset Model Code', '<?= htmlentities(QString::Truncate($_ITEM->AssetModelCode, 200)); ?>', 'FontBold...

C:\xampp\htdocs\tracmor\assets\asset_model_list.php (219)             $this->txtAssetModelCode->Name = 'Asset Model Code';

C:\xampp\htdocs\tracmor\common\advanced_search_composite.tpl.php (29)         $arrAdvancedSearchFields[] = array('name' => 'Asset Model Code:',  'value' => $this->txtAssetModelCode->RenderWithError(false));

C:\xampp\htdocs\tracmor\includes\qcodo\qform\QAdvancedSearchComposite.class.php (143)         $this->txtAssetModelCode->Name = 'Asset Model Code';

C:\xampp\htdocs\tracmor\includes\qcodo\qform\QAssetEditComposite.class.php (341)         $this->lblAssetModelCode->Name = 'Asset Model Code';

C:\xampp\htdocs\tracmor\includes\qcodo\qform\QAssetSearchComposite.class.php (142) ...    $this->dtgAsset->AddColumn(new QDataGridColumnExt('Asset Model Code', '<?= $_ITEM->AssetModel->AssetModelCode ?>', 'SortByCommand="asset__asset_model_i...

C:\xampp\htdocs\tracmor\reports\asset_transaction_report.php (191)           $this->txtAssetModelCode->Name = 'Asset Model Code';