Results 1 to 5 of 5

Thread: how to add new subpanels?

  1. #1
    jojiju is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    31

    Default how to add new subpanels?

    hi there,
    I want to add new subpanel in the module how it can be accomplished? Is it possible to add the subpanel through studio??..please help

  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,335

    Default Re: how to add new subpanels?

    Hi, jojiju.

    Which version?
    I believe you can add subpanels only by ModuleBuilder in the 5.0 version.
    But add a new subpanel is pretty easy.
    There are a lot of articles about it in the sugarwiki, for both 4.5 and 5.0 versions.

    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.

  3. #3
    jojiju is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    31

    Default Re: how to add new subpanels?

    'cases' => array(
    'order' => 60,
    'sort_order' => 'desc',
    'sort_by' => 'case_number',
    'module' => 'Cases',
    'subpanel_name' => 'ForAccounts',
    'get_subpanel_data' => 'cases',
    'add_subpanel_data' => 'case_id',
    'title_key' => 'LBL_CASES_SUBPANEL_TITLE',
    'top_buttons' => array(
    array('widget_class' => 'SubPanelTopButtonQuickCreate', 'view'=>'AccountsQuickCreate'),
    array('widget_class' => 'SubPanelTopSelectButton', 'mode'=>'MultiSelect')
    ),
    ),


    whats widget class array means ??

  4. #4
    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 add new subpanels?

    Hi, jojiju

    widget_class meas a class which defines the behavior and roles for creating a new record or selecting some records. It send by GET some fields coming from the current page and do some actions to perform what you want.

    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.

  5. #5
    jojiju is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    31

    Default Re: how to add new subpanels?

    where this class is located..??...and how SubPanelTopButtonQuickCreate create a button ??....

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. add subpanels
    By sk1983 in forum Help
    Replies: 22
    Last Post: 2008-04-29, 12:31 PM
  2. add documents to subpanels
    By kbrill in forum Developer Help
    Replies: 0
    Last Post: 2005-10-29, 06:40 PM
  3. Attempting To Add Fields/Checkboxes
    By nsti in forum Developer Help
    Replies: 3
    Last Post: 2005-10-06, 11:18 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
  •