💬 General

problem wtih setRelatedModules creating new custom module

👤 ldelgado22
Q
Question
hi everybody, i have a problem when i create a new module, i used payslip module as an example. the problem appears when i use setRelatedModule with contacts like the example that comes with payslip:

[color=green][color=indigo][color=green]$field4 = new Vtiger_Field();
$field4->name = 'LinkTo';
$field4->label= 'Link To';
$field4->table = 'vtiger_payslip';
$field4->column = 'linkto';
$
A
Community Solution
✓ Answered
Try adding:

[code]'contacts'=>'',[/code]

to your module's translation file and let us know how it turns out.

joe
tsolucio
← Back to General Join to answer →