[Vtigercrm-developers] Custom Module - Multiple Issues

Adam Heinz amh at metricwise.net
Wed Nov 7 07:05:10 PST 2012


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


More information about the vtigercrm-developers mailing list