[Vtigercrm-developers] Two columns as entity link in relatedListView

Appu apparao at vtiger.com
Fri May 10 04:35:15 UTC 2013


Alan,

Firstname :

Look at the getListViewEntries() API in [include/Utils/ListViewUtils.php] line
no's 674 and 719 we have added for specific module and field name check.
This is for using in Listview as well as relatedlistview also.

Lastname :

add this "var $list_link_field= 'lastname';" variable into your
vtlibmodule.php(ex. contacts.php line no 52).



Regards,
Apparao G

*TEAM*

*Connect with us on: *Website <http://vtiger.com/>* **I*
Twitter<http://twitter.com/#%21/vtigercrm>
*I* Facebook <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall>
*I* Blog <http://blog.vtiger.com/>* I*
Wiki<http://wiki.vtiger.com/index.php/Main_Page>
 *I *Forums  <http://forums.vtiger.com/>
**


On Thu, May 9, 2013 at 1:29 PM, Alan Lord <alanslists at gmail.com> wrote:

> I'm being thick I think but I can't see where this is done.
>
> The relatedList of Contacts, in an Opportunity for example, shows both the
> first & last names as links back to the Contact record.
>
> I have a vtlib module where I'd like to achieve the same thing. In my
> normal list view for the module it works fine - the two fields are stored
> in the vtiger_entityname.fieldname column, but I can't see where in a
> related list this is being dealt with.
>
> I've looked at the get_contacts() function in Potentials.php and the
> GetRelatedList() function and some the stuff called in the
> ListViewController.php & relatedListView.php too but I must be missing
> something somewhere...
>
> Cheers
>
> Al
>
> ______________________________**_________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130510/8be53047/attachment.html>


More information about the vtigercrm-developers mailing list