[Vtigercrm-developers] Entries in related lists

PlaymaN Tepes sshhocckk at gmail.com
Wed Nov 26 10:12:46 GMT 2014


Thanks for your quickly answer. I think I will modify the core code of that
function.

Anyway, this could be a good feature for in a future, because you maybe are
interested in show fields depend on which related-module you are :).

Regards.

2014-11-26 10:58 GMT+01:00 Uma S <uma.s at vtiger.com>:

> 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
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141126/eb8d378a/attachment-0001.html>


More information about the vtigercrm-developers mailing list