Hello,
I want to add middle name record view header pane in contact module.
Ramana Raju Santhana Francesca Shiekh Alan Apter
Thanks
Dipesh
Hello,
I want to add middle name record view header pane in contact module.
Ramana Raju Santhana Francesca Shiekh Alan Apter
Thanks
Dipesh
Hi Roland Cadavos,
Sorry I did not know how to create custom CSS for Contacts panel header
Please help me
Thanks
Bao
Hi Bao Tran Hoang,
Create new file below path and try it.
custom/modules/Contacts/clients/base/fields/fullname/record-edit.hbs
{{!--
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/06_Customer_Center/10_Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative, then do not
* install or use this SugarCRM file.
*
* Copyright (C) SugarCRM Inc. All rights reserved.
*/
--}}
{{#each fields}}
<span class="record-cell{{#if span}} span{{span}}{{/if}}" data-name="{{name}}" data-type="{{type}}" style="width:25%">
{{#unless dismiss_label}}
<div class="record-label" data-name="{{name}}">{{str label ../../../module}}</div>
{{/unless}}
<span data-fieldname="{{name}}">
{{placeholder}}
</span>
</span>
{{/each}}
Hi Offshore Evolution,
Thank you very much, It worked with last name size but when I create contact and save it is undefined for middle name, I updated fullname.js already
Hi Bao Tran Hoang,
create file custom/themes/custom.less
then add lines:
.record-cell[data-name="mi_c"]{ //name of your custom middle_name field
width: 10em !important;
}
Thank for your reply Roland Cadavos,
It does not work with me,
My code:
.record-cell[data-name="middle_name_c"]{
width: 10em !important;
}
.record-cell[data-name="suffix_c"]{
width: 10em !important;
}
I have same issue.
Hi Bao Tran Hoang,
Please can you explain me, how it's come full name ?
Hi Offshore Evolution
You add middle_name_c in Available column of Listview in studio
Also check your config, I just noticed that there is a
'default_locale_name_format' => 's f l' //salutation first last