OS : Debian
MySQL version 5.0.32
Apache version 2.2.3
SUGARCRM OS 4.5.1f
Hi every one,
I have a problem i can't understand.
In account view i don't want to see activities and history subpanels.
I changed the file modules/accounts/ layout_defs.php as follow :
I receive this error message in account edit view :Code:$layout_defs['Accounts'] = array( // list of what Subpanels to show in the DetailView 'subpanel_setup' => array( 'Contacts' => array( 'order' => 30, 'module' => 'Contacts', 'sort_order' => 'asc', 'sort_by' => 'last_name, first_name', 'subpanel_name' => 'ForAccounts', 'get_subpanel_data' => 'contacts', 'add_subpanel_data' => 'contact_id', 'title_key' => 'LBL_CONTACTS_SUBPANEL_TITLE', 'top_buttons' => array( array('widget_class' => 'SubPanelTopCreateAccountNameButton'), array('widget_class' => 'SubPanelTopSelectButton', 'mode'=>'MultiSelect') ), ), 'Opportunities' => array( 'order' => 40, 'module' => 'Opportunities', 'subpanel_name' => 'ForAccounts', 'sort_order' => 'desc', 'sort_by' => 'date_closed', 'get_subpanel_data' => 'opportunities', 'add_subpanel_data' => 'opportunity_id', 'title_key' => 'LBL_OPPORTUNITIES_SUBPANEL_TITLE', 'top_buttons' => array( array('widget_class' => 'SubPanelTopButtonQuickCreate'), array('widget_class' => 'SubPanelTopSelectButton', 'mode'=>'MultiSelect') ), ), ), );
Notice: Undefined index: activities in var\www\vbcrm\include\SubPanel\SubPanelDefinitions .php on line 330
Warning: asubpanel(modules//subpanels/.php): failed to open stream: No such file or directory in var\www\vbcrm\include\SubPanel\SubPanelDefinitions .php on line 66
Fatal error: asubpanel(): Failed opening required 'modules//subpanels/.php' ) in var\www\vbcrm\include\SubPanel\SubPanelDefinitions .php on line 66
I think he have some template or cache data or mabye a code.
If i add activities and history in layout_defs this works BUT i do not want those subpanels....
I tried to change the order nulber with no results ...
I'm working since 3 days on that issue ... i don't understand what's wrong
Please help !


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks