Hi,
Is it somehow possible to show previously accounts in contacts list, what have been linked for each other.
and not just current.
any help is currently welcome
Hi,
Is it somehow possible to show previously accounts in contacts list, what have been linked for each other.
and not just current.
any help is currently welcome
Last edited by Moksu; 2009-04-24 at 05:58 AM.
Hi Moksu
Are you meaning the historic of the previously linked Accounts to the current Contact?
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.
It is pretty possible!
You need to create a function based subpanel.
Have a look on modules/Campaigns/metadata/subpaneldefs.php. You will see there are some subpanel whose get_subpanel_data refers to a function rather than a relationship.
So you need to create a custom controller for Contacts (custom/modules/Contacts/controller.php) and implement the function action_detailview.
Inside this view you need to override the $this->bean as an instance of a new class which extends the default Contact class.
Create this new class and implement into it the function invoked in the new layoutdefs entry.
The function must return a query containing the id of the Accounts.
You need to select the ids from accounts_contacts table whose contact_id is the own contact id and the deleted field is '1'.
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.
Andopes, are you sure there is no easier way for adding this "function" for sugarCRM?
Definitely yes!
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks