I there i'm using Sugar CRM 6.2.1 CE and i need to remove the vCard download in contacts, looking around the foruns i found for version 5.5.x but the method does not apply....
Sorry about the english....
I there i'm using Sugar CRM 6.2.1 CE and i need to remove the vCard download in contacts, looking around the foruns i found for version 5.5.x but the method does not apply....
Sorry about the english....
If you want to disable it across the board, just add the following to a new file in the custom/include/SugarFields/Fields/Fullname/ directory named DetailView.tpl:
If you want to update it for just that one field, you could instead add the 'customCode' attribute to the full_name field in the detailviewdefs.php for the module as shown:Code:{if strlen({{sugarvar key='value' string=true}}) <= 0} {assign var="value" value={{sugarvar key='default_value' string=true}} } {else} {assign var="value" value={{sugarvar key='value' string=true}} } {/if} <span id='{{sugarvar key='name'}}'>{{sugarvar key='value'}}</span> {{if !empty($displayParams.enableConnectors)}} {if !empty($value)} {{sugarvar_connector view='DetailView'}} {/if} {{/if}}
PHP Code:'customCode' => '{$fields.full_name.value}',
Thank you for your hints jmertic but on my version of sugar (6.3.0RC2) they unfortunately do not work.
The directory "custom/include/" isn't accessible through my ftp client and adding
'customCode' => '{$fields.full_name.value}',
to the detailviewdefs.php has no effect.
I haven't the slightest clue how to disable the vcard button, maybe you have a solution?
Thanks in advance
York
Oh! Didn’t realize that it is as simple as that! I was a little bit confused about the fact that the directory /custom/include/ already exist and was not accessible thus I didn’t know whether it is necessary nor did I know anything about its contents! But renaming it (the only possible command with my ftp client) solved this problem.
Thanks once more!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks