Month: March 2013

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