[Vtigercrm-developers] Entries in related lists

Uma S uma.s at vtiger.com
Wed Nov 26 09:58:57 GMT 2014


Hi Alan,

This case is possible, only if no field of module is set as summary field.
If any field is marked to summary-view. It won't read ($this->list_fields)
variable value.

For reference of this. Please check getRelatedListFields() api of
modules/Vtiger/models/Module.php

On Wed, Nov 26, 2014 at 2:37 PM, Alan Lord <alanslists at gmail.com> wrote:

> On 26/11/14 08:55, Uma S wrote:
>
>> Hi,
>>
>> Sorry, this option is right now not allowed in vtiger.
>>
>> Module configured summary fields, will show in related-list of that
>> module in any other module.
>>
>
> This *was* possible in 5.4.0. It was fairly easy - you moved the
> $list_fields and $list_fields_name arrays inside the module's class
> constructor and just did a simple test, e.g.
>
>      function __construct() {
>>
> ...
>
>>           // Show different columns if related list is inside Accounts
>>         if($currentModule == "Accounts") {
>>
>>             $this->list_fields = Array (
>>                     /* Format: Field Label => Array(tablename,
>> columnname) */
>>                     // tablename should not have prefix 'vtiger_'
>>
> ...
>
> Does this not work at all now in the 6 arch?
>
> Al
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141126/483876f2/attachment.html>


More information about the vtigercrm-developers mailing list