How to change subpanel order in SugarCRM 7?

How can one change the order on each subpanel either by code or through the GUI?
In Sugar 6 the user could change the order simply by dragging and dropping the subpanels under each module. 
From what I can see this is not possible in 7.x. 
I have tried to change
'order' => 1 
in
custom/Extension/modules/Opportunities/Ext/Layoutdefs/some_file.php 
with no luck at all..

Any ideas?
Parents Reply
  • This does not work. 
    Inside /custom/Extension/modules/Opportunities/Ext/Layoutdefs/custom.php I have this which is not working:

    <?php  $layout_defs["Opportunities"]["subpanel_setup"]['foo_Foobar_1'] = array (  
    'order' => 1,
      'module' => 'foo_Foobar',
      'subpanel_name' => 'default',
      'sort_order' => 'asc',
      'sort_by' => 'id',
      'title_key' => 'LBL_FOO_FOOBAR_1_TITLE',
      'get_subpanel_data' => 'foo_Foobar_1',
      'top_buttons' =>
      array (
        0 =>
        array (
          'widget_class' => 'SubPanelTopButtonQuickCreate',
        ),
        1 =>
        array (
          'widget_class' => 'SubPanelTopSelectButton',
          'mode' => 'MultiSelect',
        ),
      ),
    );
Children
No Data