Hi,
I use modules Contacts and in lastviewed i see the field FirstName+LastNAme but i want to see another field.(for ex. only lastname )
Is possible change this??
Thanks.
Hi,
I use modules Contacts and in lastviewed i see the field FirstName+LastNAme but i want to see another field.(for ex. only lastname )
Is possible change this??
Thanks.
You need to create a logic_hook after_retrieve which modifies the fields name and full_name. Take a look at the include/SugarObjects/template/person/Person.php
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Thanks a lot.
good advice .. I solved..
Hi Can u pls guide me how to solve this? I am in Lead module and want Last Viewed list for leads will show the associated account name.
I have tried in this way:
Create a logic hook
$hook_array['after_retrieve'] = Array();
$hook_array['after_retrieve'][] = Array(1, 'LeadsGetSummaryText', 'custom/modules/Leads/LeadsGetSummaryText.php','LeadsGetSummaryText', 'get_summary_text');
in the custom file
class LeadsGetSummaryText extends Person
{
function get_summary_text(){
return $this->account_name;
}
}
Any thing I' am missing.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks