Month: May 2013

SugarCRM Set the default value of the field

Write a PHP code in,   D1/custom/Extension/modules/Quotes (Module Name)/Ext/Vardefs/vardefs.php <?php   $dictionary['Quote'](Module name)['fields']['term_c'](field name)['default'] = 'Terms & Conditions:’;   ?> Then go to Admin -> Repair -> Repair Database.  

May 29, 2013 0

Hide Subpanel from Module

Want to Hide Subpanel from Module Permanently? Goto : sugarcrm/custom/Extension/modules/Leads/Ext//Layoutdefs/ see for the  layoutdefs.ext.php if not than create. ( e.g. hide champaign subpanel ) edit that file and add line: unset($layout_defs['Leads']['subpanel_setup']['campaigns']);  Than repair and rebult. Note: You need to create the folders and files if they doesn´t exist.              If you…
Read more

May 29, 2013 0