Monthly Archive for: ‘June, 2014’

Photo Field in SugarCRM

With SugarCRM’s customizable structure we can create this functionality on our own. After this tutorial we could add a photo to a lead, account, or any other module. First, we need to create three files which will tell Sugar how to display the field on the edit and detail views. 1.1 – custom/include/SugarFields/Fields/Photo/DetailView.tpl {if !empty({{sugarvar key=’value’ string=true}})} <img src=’cache/images/{$fields.{{$}}.value}_{{sugarvar key=’value’}}’ …

Read More