<div dir="ltr">Thanks for your quickly answer. I think I will modify the core code of that function.<br><br>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 :).<br><br>Regards.</div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-26 10:58 GMT+01:00 Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Alan,<div><br></div><div>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 (<span style="font-family:arial,sans-serif;font-size:13px">$this->list_fields</span>) variable value.</div><div><br></div><div>For reference of this. Please check getRelatedListFields() api of modules/Vtiger/models/Module.php</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Wed, Nov 26, 2014 at 2:37 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 26/11/14 08:55, Uma S wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Sorry, this option is right now not allowed in vtiger.<br>
<br>
Module configured summary fields, will show in related-list of that<br>
module in any other module.<br>
</blockquote>
<br></span>
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.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    function __construct() {<br>
</blockquote>
...<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          // Show different columns if related list is inside Accounts<br>
        if($currentModule == "Accounts") {<br>
<br>
            $this->list_fields = Array (<br>
                    /* Format: Field Label => Array(tablename, columnname) */<br>
                    // tablename should not have prefix 'vtiger_'<br>
</blockquote>
...<br>
<br>
Does this not work at all now in the 6 arch?<br>
<br>
Al<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="">-- <br><div><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</span></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>