Hello.
I'm looking for solution to achieve company field in my RecordBrowser's table without direct link to company informations.
Even I use simplest field definition inside my RB table:
array('name'=> _M('Customer'),'type'=>'select','required'=>true,'visible'=>true, 'filter'=>true, 'param'=>'company::company_name'),
or
array('name'=> _M('Customer'),'type'=>'crm_company', 'required'=>true, 'visible'=>true, 'filter'=>true, 'param'=>array('field_type'=>'select')),
I have still link to companies infos.
It is inherited from definition of company::company_name field - it has display callback creates that link. I understand that.
Question: Have I abilities to told my RB's field definition to display company name and not to create link to it (without build my own display callback on that field - it resolve that problem.
callback function f.e.
public static function clb_customer($record){
return Utils_RecordBrowserCommon::get_value('company', $record['customer'], 'company_name');
}
)
The same situation is with contact - I don't want links and tooltips to contact in my RB table. How to achieve it without build my own display callback on that field. Functions in contact_common module have parameter $nolink - but I do not know how to transfer it directly from my RB table definition.
My question is only for understanding EPESI logic - today I use my own callbacks. But it is not elegant :-).
Best regards
Yerbarao