SugarCRM Smarty Code in Listviewdefs
问题 I'm trying to use Smarty PHP for custom functionality in the ListView (custom/modules/Leads/metadata/listviewdefs.php) of SugarCRM (6.5.3). This works fine: 'customCode' => '{$LD_ASSUMED_SUGAR_ACCOUNT_ID_C}', And so does this: 'customCode' => '{$ACCOUNT_NAME}', However this just outputs the code (brackets and all) in the List (but with Account name substituted for the correct value): 'customCode' => '{if $LD_ASSUMED_SUGAR_ACCOUNT_ID_C}{$ACCOUNT_NAME}{/if}', What am I doing wrong!? 回答1: I don