CRM Open Source Business & Social CRM Software

Results 1 to 4 of 4

Thread: How to conditionally display subpanels to Account Module

  1. #1
    groterjan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    10

    Default How to conditionally display subpanels to Account Module

    Hi Folks,

    first..Im new here.. However I have a tricky question:

    I tried to implement a "conditional relationship" between different accounts.

    Imagine you have two Account types like 'Brokers' and 'Customers'.

    I created an relationship between the Account <-> Account.
    Now I'm able to Link Accounts together. But in the subpannels I want to have different behaviour dependimng on custom field content of the Account type.

    If an account is of type "Company" I want to display "Brokers" only and the Title of the Subpanel is "Brokers".
    If the Account type is "Broker" then I want to display the Title "Customers" with the Subpannel contains only
    Accounts of type "Company".

    Is there any way to do this?
    I'd appreciate any help
    Greetz
    groterjan

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,262

    Default Re: How to conditionally display subpanels to Account Module

    Hi Groterjan

    Take a look at this thread
    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.

  3. #3
    shannonhamilton is offline Senior Member
    Join Date
    Jan 2009
    Posts
    21

    Default Re: How to conditionally display subpanels to Account Module

    Ive looked at that thread over and over... I am still having a hard time getting this to work. In fact it seems that a few people are having issues with this. Any further help would be terrific. Thanks Sugar Folks!

  4. #4
    kasperd is offline Senior Member
    Join Date
    Nov 2008
    Posts
    38

    Default Re: How to conditionally display subpanels to Account Module

    I also copied all as in tutorial and nothing happens no erros but nothing happens

    Probably i do not know where to paste the code exactly :

    'javascript' => 'onchange="togglePanel(this);"',


    In what part of ediviewdefs?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Display sum of fields from subpanels
    By warmachine in forum Developer Help
    Replies: 3
    Last Post: 2009-03-12, 11:59 AM
  2. Display Account in the Bugs module
    By tejas in forum Developer Help
    Replies: 3
    Last Post: 2008-12-01, 10:23 AM
  3. How to display subpanels?
    By rajesh22 in forum Help
    Replies: 4
    Last Post: 2008-10-11, 10:56 AM
  4. Display of Subpanels in Contacts
    By jwallis in forum Help
    Replies: 5
    Last Post: 2007-06-26, 04:02 PM
  5. Replies: 1
    Last Post: 2007-03-28, 01:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •