OS: Ubuntu 7.10 Server
Sugar version: 5 CE
Webserver type: Apache 2.2
PHP: 5.2.1
Mysql: 5.0
Hello,
I am trying to eliminate the "assigned to" field for creating new contacts on the left hand "side create quick view". It shows up by default on the home screen and the contact module screen.
I found the following files that seemed to contain the magic:
/modules/Contacts/metadata/sidecreateviewdefs.php
/modules/Contacts/vardefs.php
I went into the vardefs.php page and made the following change:
'assigned_user_link' =>
array (
'name' => 'assigned_user_link',
'type' => 'link',
'relationship' => 'contacts_assigned_user',
'vname' => 'LBL_ASSIGNED_TO_USER',
'link_type' => 'one',
'required'=>false,...........
Then I went into the sidecreateviewdefs.php file and REMOVED the following lines (after trying to just change the "required" to false):
array (
array('name'=>'assigned_user_name', 'displayParams'=>array('required'=>true,'size'=>11 , 'selectOnly'=>true)),
),
What am I missing?
This was the first step of modifying the side create view, and before I move on the next step, which would be to add the "company" field, I would like to get this part working....
any thoughts?
thanks,
avidan


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks