Hello Experts
I want to add “Notes” as a Subpanel in Accounts Module i am trying it from “Display modules and subpanels” but its not working any idea ?
Thanks .
Hello Experts
I want to add “Notes” as a Subpanel in Accounts Module i am trying it from “Display modules and subpanels” but its not working any idea ?
Thanks .
You have to create the an extended Layoutdefs for Accounts in order to add the notes subpanel this way:
$layout_defs[‘Accounts’][‘subpanel_setup’][‘notes’] = array(
‘order’ => 30,
‘module’ => ‘Notes’,
‘sort_order’ => ‘asc’,
‘sort_by’ => ‘name’,
‘subpanel_name’ => ‘default’,
‘get_subpanel_data’ => ‘notes’,
‘add_subpanel_data’ => ‘parent_id’,
‘title_key’ => ‘LBL_NOTES’,
‘top_buttons’ => array(
array(‘widget_class’ => ‘SubPanelTopButtonQuickCreate’),
),
);
Run Quick Repair and Rebuild after saving it.
Regards
Hello Good morning
Thanks @andopes. Can you please tell me where should i add this code i mean to say in which file ?
it will help me a lot.
Hello @andopes i just create the Subpanel by creating relationship now problem is i want to change the fields showing in subpanel. I want to show my custom field . How we will do that any idea ?
See this part of the Documentation, you need the entry relative to layoutdefs