AnsweredAssumed Answered

How can I populate field values into a custom view?

Question asked by Wayne Price on Feb 25, 2014
Latest reply on Feb 27, 2014 by Ramendra singh
I'm trying to create a custom view within SugarCRM 6.5.x. So far, the basics are working as per this URL:

I've updated the code to use a template:

  public function preDisplay()
    $this->dv->tpl = 'custom/modules/Accounts/tpl/custom.tpl';
and then created a template file in that location. So far, so good...

However, if I try to use {$}, {$}, etc. in my custom.tpl file, those fields are blank.

What's the magic I'm missing to setup the $fields array for Smarty to use the various module fields?