[Vtigercrm-developers] Custom Module - Multiple Issues

Richard Hills richard at tw.co.nz
Wed Nov 7 12:26:44 PST 2012


Thanks for the suggestion Adam.

Unfortunately I made this adjustment and the entities stopped displaying 
a value in the relatedlists again.



On 08/11/12 04:05, Adam Heinz wrote:
> This doesn't seem right to me.  I think the array keys should match
> vtiger_field.fieldlabel.
>
> On Tue, Nov 6, 2012 at 4:40 PM, Richard Hills <richard at tw.co.nz> wrote:
>> The related list now shows values under the label, this was accomplished by
>> making the following change:
>>
>> before:
>>
>>          var $list_fields = Array (
>>                  'Mortgage Title'=> Array('twtmortgage', 'mortgagename'),
>>                  'Assigned To' => Array('crmentity','smownerid'),
>>          );
>>          var $list_fields_name = Array(
>>                  'Mortgage Title'=> 'mortgagename',
>>                  'Assigned To' => 'assigned_user_id',
>>          );
>>
>>
>>
>> after:
>>
>>          var $list_fields = Array (
>>                  'Mortgage Title'=> Array('twtmortgage', 'mortgagename'),
>>                  'Assigned To' => Array('crmentity','smownerid'),
>>          );
>>          var $list_fields_name = Array(
>>                  'Mortgage Name'=> 'mortgagename',
>>                  'Assigned To' => 'assigned_user_id',
>>          );
>>
>>
>>
>> Can someone explain to me the reason why these two labels in different
>> arrays need to be named differently? Is this supposed to be fixed up later
>> by using language variables to override the label shown anyway?
>>
>> I am still not seeing the linked values to go to detail view in my list
>> views, so any feedback on that would still be greatly appreciated also.
>>
>> Thanks
> _______________________________________________
> http://www.vtiger.com/


-- 
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
richard at tw.co.nz
www.technologywise.co.nz
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061



More information about the vtigercrm-developers mailing list