Hi aalphin,
the default behavor of the create button on the subpanel causes the system to open in full form..
You need to change the button to use the widget_class SubPanelTopButtonQuickCreate
replace:
Code:
'top_buttons' => array(
array('widget_class' => 'SubPanelTopCreateButton'), to:
Code:
'top_buttons' => array(
array('widget_class' => 'SubPanelTopButtonQuickCreate'),
There is a secondary issue you may encounter depending on how your relationship's are setup; where the "loading" message appears and the form won't appear...
If you encounter this the problem lays in the custom\modules\accounts\Ext\Layoutdefs\layoutdefs. ext.php
The problem is in the array where it defines the module of the subpanel ... you will need to change it from:
PHP Code:
$layout_defs["Accounts"]["subpanel_setup"]["accounts_yourmodulename"] = array (
To:
PHP Code:
$layout_defs["Accounts"]["subpanel_setup"]["yourmodulename"] = array (
Note: yourmodulename must be in lower case....
Hope this helps..
Regards,
Bookmarks