Hi, Artisan.
You can extend the Templated Fields located on include/SugarFields/Fields.
You can modify the extended template file to assign a new layout according to your needs.
For the Email Field it is more complicated, because that field is defined into Person template module and its implementations is inside include/SugarEmailAddress.
So you should extend the vardefs of the module you want to modify the fields and change the function attribute:
PHP Code:
'email1' =>
array(
'name' => 'email1',
'vname' => 'LBL_EMAIL_ADDRESS',
'type' => 'varchar',
'function' => array(
'name' => 'getEmailAddressWidget',
'returns' => 'html'),
'source' => 'non-db',
'group'=>'email1',
'merge_filter' => 'enabled',
),
Bookmarks