Results 1 to 9 of 9

Thread: How to control the sub-panel in Account/Contact/Campaign...

  1. #1
    nttnga is offline Junior Member
    Join Date
    Oct 2010
    Posts
    3

    Question How to control the sub-panel in Account/Contact/Campaign...

    Hallo,

    I've worked with CRM for a short time, just management. But I dont know how to control the sub-panel in Account/contact/campaign...

    For example: in my CRM, field Account has contact, activities, opportunity, history, lead, member organization, cases, project, bug. But, I dont know how to turn off some sub-panels I dont need.

    The sub-panels appear differently in different fields (account/contact/campaign...) I tried with admin account but I can not find where to manage these sub-panels.

    Any suggestion, welcome and thank you. But pls dont show me to change the code (In real, I dont know about it)

    Regards,
    nga

  2. #2
    jlabuelo is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    426

    Default Re: How to control the sub-panel in Account/Contact/Campaign...

    Hide there

    There is a simple way to hide subpanels for non-programmer administration. If you log in the application as an admin user, there is a section under admin-> Tabs Configuration where you will see two columns, by muving the modules from the column of the left to the column of the right, you will be hiding/showing those subpanels in the application.

    But be carefull, this is a "gloval" hide/show, meaning that if you for example hide "accounts" subpanel, this will be hiden in Contacts, Activities.... every module with Accounts as subpanel.

    Hope this is what you need for a start, if you need to do more especific things, will need to be involved in coding.

    Cheers

  3. #3
    nttnga is offline Junior Member
    Join Date
    Oct 2010
    Posts
    3

    Default Re: How to control the sub-panel in Account/Contact/Campaign...

    Hi Jlabuelo,

    Thank you very much for your suggestion.
    I had tried as your suggestion before. Every sub-panel be opened. For sure 100%. But it still does not appear same in all account/contact/campaign.
    For coding, I can not. I am not IT guy.

    Thanks again and regards,
    nga

  4. #4
    jlabuelo is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    426

    Default Re: How to control the sub-panel in Account/Contact/Campaign...

    Hi again

    If you tell me what do you need to remove or hide in the Accounts screen I can pass you the modified file and explain you what you need to do.

    It is quite easy, it is not 100% pure coding but you will need to modify some files following my example

    Let me know

    Cheers

  5. #5
    nttnga is offline Junior Member
    Join Date
    Oct 2010
    Posts
    3

    Default Re: How to control the sub-panel in Account/Contact/Campaign...

    Hi Jlabuelo,

    Thank you very much for your reply. I was off some days.
    I dont know how to attach file here. Could you pls give me your email address, I will send the picture to you. Actually, I can explain, but I am not sure you can understand what I mean

    Thanks again,
    nga

  6. #6
    jlabuelo is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    426

    Default Re: How to control the sub-panel in Account/Contact/Campaign...

    Hi there

    If you click over my name in the top of my posts you will see the options "Send Private Message".. this way you can send me an email with your attachements.

    Cheers

  7. #7
    eitrix's Avatar
    eitrix is offline Sugar Community Member
    Join Date
    Aug 2010
    Location
    Serbia
    Posts
    396

    Default Re: How to control the sub-panel in Account/Contact/Campaign...

    paste:

    You can hid the Leads SubPanel into Accounts module by customizing the
    custom/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php, which is a
    upgrade safe customization. Add the following to the end of the file,
    before the closing PHP tag.


    PHP Code:
    unset($layout_defs['Accounts']['subpanel_setup']['leads']); 
    CRM Software Engineer
    Eontek - www.eontek.rs

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

    Default Re: How to control the sub-panel in Account/Contact/Campaign...

    Quote Originally Posted by eitrix View Post
    paste:

    You can hid the Leads SubPanel into Accounts module by customizing the
    custom/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php, which is a
    upgrade safe customization. Add the following to the end of the file,
    before the closing PHP tag.


    PHP Code:
    unset($layout_defs['Accounts']['subpanel_setup']['leads']); 
    You must add this code into custom/Extension/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php instead.
    When you run Quick Repair and Rebuild or Rebuild Extension custom/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php is reloaded based on scriprs inside custom/Extension/modules/Accounts/Ext/Layoutdefs/.

    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.

  9. #9
    hdanielb's Avatar
    hdanielb is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Argentina
    Posts
    40

    Default Re: How to control the sub-panel in Account/Contact/Campaign...

    What I want to do, is hide subpanels in campaign status, for non administrator users, In order they cannot see their emails.

    I've tried to hide the email field, from studio, unsuccessfully, because when I save and deploy the field is always there.

    So I ' ve tried this, but don't know if my syntax is ok. I' ve made this in
    custom/Extension/modules/Campaigns/Ext/Layoutdefs/layoutdefs.ext.php and custom/Extension/modules/Campaigns/Ext/Layoutdefs/custom.php, but it doesn't work. I also tried the commented lines. I am doing something wrong...:

    PHP Code:
    <?php 
        
    global $current_user
            if(!
    $current_user->is_admin
            { 
                
    // unset($layout_defs['CampaignLog']);
                //unset($layout_defs['ProspectLists']);
                //unset($layout_defs['track_queue']);
                //unset($layout_defs['targeted']);
                //unset($layout_defs['view']);
                //unset($layout_defs['sent']);
                
    unset($layout_defs['Campaign']['subpanel_setup']['ProspectLists']);
                unset(
    $layout_defs['Campaign']['subpanel_setup']['track_queue']);
                unset(
    $layout_defs['Campaign']['subpanel_setup']['targeted']);
                unset(
    $layout_defs['Campaign']['subpanel_setup']['view']);
                unset(
    $layout_defs['Campaign']['subpanel_setup']['sent']);
            }  
    ?>
    Daniel Blanco
    Director
    Blanco Martin & Asociados
    Worldwide Hosted Software Solutions

    Visit us at www.blancomartin.com.ar

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Best hosting control panel for sugarcrm and APC
    By ehab in forum General Discussion
    Replies: 5
    Last Post: 2010-06-19, 04:18 PM
  2. Access Control for Contacts based on Contact Type
    By lenz1979 in forum Developer Help
    Replies: 2
    Last Post: 2010-06-16, 07:32 AM
  3. Replies: 16
    Last Post: 2008-07-16, 06:34 PM
  4. History panel in account vs contact tab
    By pricefister in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-05-23, 05:57 PM
  5. Replies: 5
    Last Post: 2007-04-26, 07:43 PM

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
  •