Results 1 to 5 of 5

Thread: Button in subpanel

  1. #1
    atin is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    India
    Posts
    46

    Default Button in subpanel

    Hiii All,
    I want to change the button Create Note Attachment under the History sub panel. How can i do this??
    Plz help me.

    PHP/5.2.4
    Apache/2.2.6 (Win32)
    Windows NT
    MySql-5.0.45
    Sugar Ver: 4.5
    Thanks in advance
    Atin

  2. #2
    MatR is offline Sugar Community Member
    Join Date
    Jul 2007
    Location
    Paris, France
    Posts
    311

    Default Re: Button in subpanel

    Hi atin,

    What changes exactly do you want to do ?

    Check the layout_defs.php of the module where are the button.

    For example in modules/Accounts/layout_defs.php :
    PHP Code:
    'history' => array(
                
    'order' => 20,
                
    'sort_order' => 'desc',
                
    'sort_by' => 'date_modified',
                
    'title_key' => 'LBL_HISTORY_SUBPANEL_TITLE',
                
    'type' => 'collection',
                
    'subpanel_name' => 'history',   //this values is not associated with a physical file.
                
    'header_definition_from_subpanel'=> 'meetings',
                
    'module'=>'History',

                 
    'top_buttons' => array(
                    array(
    'widget_class' => 'SubPanelTopCreateNoteButton'), //button Create Note Attachment
                    
    array('widget_class' => 'SubPanelTopArchiveEmailButton'),
                    array(
    'widget_class' => 'SubPanelTopSummaryButton'),
                ), 
    The widgets which defines the buttons are in this folder : include/generic/SugarWidgets/.
    Mathieu Rodrigues
    Consultant CRM
    CARRENET - SugarCRM Gold Partner
    >>> Suivez notre actualité sur Twitter ! http://twitter.com/carrenet

  3. #3
    atin is offline Sugar Community Member
    Join Date
    Mar 2008
    Location
    India
    Posts
    46

    Default Re: Button in subpanel

    Hi MatR
    Thanks for your help. Actually I have tried a lot to find this..........at last you help me.
    One more question......
    I want to create a sub panel....for my custom module. plz guide me.

    PHP/5.2.4
    Apache/2.2.6 (Win32)
    Windows NT
    MySql-5.0.45
    Sugar Ver: 4.5
    Thanks in advance
    Atin

  4. #4
    MatR is offline Sugar Community Member
    Join Date
    Jul 2007
    Location
    Paris, France
    Posts
    311

    Default Re: Button in subpanel

    Hi atin,

    Check this subject : http://www.sugarcrm.com/forums/showt...light=subpanel.

    Regards,
    Mathieu Rodrigues
    Consultant CRM
    CARRENET - SugarCRM Gold Partner
    >>> Suivez notre actualité sur Twitter ! http://twitter.com/carrenet

  5. #5
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Button in subpanel

    Quote Originally Posted by MatR
    Hi atin,

    Check this subject : http://www.sugarcrm.com/forums/showt...light=subpanel.

    Regards,
    Hi,
    you might find this useful.
    And since a subpanel shows a related module, don't forget the wiki guide on Creating 1-to-many relationships in Sugar 5.0
    What do you think the cookie monster eats ?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. New SubPanel "Create" button -- no label!
    By leenwebb in forum Developer Help
    Replies: 4
    Last Post: 2007-11-08, 06:43 PM
  2. Replies: 1
    Last Post: 2006-08-18, 03:08 PM
  3. Replies: 0
    Last Post: 2006-04-19, 04:37 PM
  4. Replies: 6
    Last Post: 2006-02-03, 03:17 PM
  5. Replies: 1
    Last Post: 2005-10-07, 03:39 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
  •