Copy Field into Related SubPanel

Copy Fields from parent module to related module at real time, e.g : Need to create case from contacts and want contact field fill in new created case. Steps => 1 Go to studio and create related field of Contacts in Case module. Make this field in Edit View, Detail View and Quick Create view.…
Read more

April 2, 2013 0

Add Field in Address

1) make fields name area_c by studio in contacts and accounts and leads 2) change in /include/SugarFields/Fields/Address/EditView.tpl add line one line after country {{assign var="area" value=$displayParams.key|cat:'_address_area_c'}}  after that add one TR : <tr> <td id="{{$area}}_label" width='{{$def.templateMeta.widths[$smarty.foreach.colIteration.index].label}}%' scope='row' > {sugar_translate label='LBL_AREA' module='{{$module}}'}: {if $fields.{{$area}}.required || {{if $area|lower|in_array:$displayParams.required}}true{{else}}false{{/if}}} <span class="required">{$APP.LBL_REQUIRED_SYMBOL}</span> {/if} </td> <td> <input type="text" name="{{$area}}" id="{{$area}}"…
Read more

March 19, 2013 0

Show and hide Panel on load and click on checkbox

Step1: Create one .js file in root /var/www/crm/*.js Step2: include file in editview.php step3: onload run file: step4: call function on checkbox event:

March 10, 2013 0

Disable Last view in SugarCRM

There is two way to disable lastview. 1) you can write logic hook in custom/modules/Users/logic_hook.php after_retrive AND delete all data write in tracker table. 2) if You want to disable for perticular Module, for e.g. Disable for Account module go to modules/Accounts/account.php find get_summary_text() function comment (//) return value. Best of Luck…

January 29, 2013 0

Remove Navigation Warning MSG from Every Page

Steps => 1=> Just goto sugarcrm/includes/javascript/Sugar_grp1.js 2=> find WARN_UNSAVED_CHANGES 3=> after change code will look like,

January 1, 2013 0

SugarCRM If you want pass data in sub panel quick create

include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateAccountNameButton.php   Add line,   $additionalFormFields = array();               if(isset($defines['focus']->billing_address_street))                       $additionalFormFields['primary_address_street'] = $defines['focus']->billing_address_street;               if(isset($defines['focus']->billing_address_city))                       $additionalFormFields['primary_address_city'] = $defines['focus']->billing_address_city;                                                                        if(isset($defines['focus']->billing_address_state))                       $additionalFormFields['primary_address_state'] = $defines['focus']->billing_address_state;               if(isset($defines['focus']->billing_address_country))                       $additionalFormFields['primary_address_country'] = $defines['focus']->billing_address_country;               if(isset($defines['focus']->billing_address_postalcode))                       $additionalFormFields['primary_address_postalcode'] = $defines['focus']->billing_address_postalcode;               if(isset($defines['focus']->phone_office))                       $additionalFormFields['phone_work'] = $defines['focus']->phone_office;               if(isset($defines['focus']->phone_alternate))                       $additionalFormFields['phone_other'] = $defines['focus']->phone_alternate;  

September 29, 2012 0

SugarCRM View documents in browser.

( Currently Supported PDF and Text file ) - Make a directory called “doc” within the “custom” folder (rights: 777). - Make a  php file called “showfile.php” (rights: 777) in the “prudento” folder. - Place the following code within showfile.php: for all doc::::: for pdf and text exclude doc:::::::: Go to studio=>documents=>fields an make a…
Read more

July 23, 2012 0