By clicking on the link you can download the package I created.
For some reasons the subpanels don't show up and I can't see what I am doing wrong.Subpanel.zip
By clicking on the link you can download the package I created.
For some reasons the subpanels don't show up and I can't see what I am doing wrong.Subpanel.zip
Hi Amy Cox
I am not an expert about this but I can see you have this:
<?php
// created: 2018-04-03 06:34:15
$viewdefs['Accounts']['base']['layout']['subpanels']['components'][] = array (
'override_subpanel_list_view' =>
array (
'view' => 'subpanel-for-accounts_contacts_1',
'link' => 'accounts_contacts_1',
),
);
And in a old proyect I have:
$viewdefs['Accounts']['base']['layout']['subpanels']['components'][]['override_subpanel_list_view'] = array (
'link' => 'opportunities',
'view' => 'subpanel-for-accounts-opportunities',
);
And this is an overriden subpanel too.
I hope it helps you.
Regards
Those two have the same meaning.
Okay thank you for saying it.
So, I have seen your zip and I don´t see any error at less this is you are missing:
custom\modules\<your custom module name>\clients\base\views\subpanel-list
The last folder name is: subpanel-list I have that folder in my old proyect, and it is Enterprise 7.9 SugarCRM version.
I don´t think it has changed.
And I have another one:
subpanel-for-contacts-contacts_<your_custom__module_name>_1
with a file:
subpanel-for-contacts-contacts_<your_custom__module_name>_1.php
In custom\modules\<custom_module>\clients\base\views you must to have:
record, list, selection-list, supanel-list and all your overridden or added subpanels
like:
subpanel-lev_contracts_subpanel_lev_contracts_lev_courses
and
subpanel-for-contacts-contacts_<your_custom_module_name>_1
there are some differences
I think you must to have:
subpanel-for-lev_contracts-lev_contracts_lev_courses_1
Regards.
Okay thank you for saying it.
So, I have seen your zip and I don´t see any error at less this is you are missing:
custom\modules\<your custom module name>\clients\base\views\subpanel-list
The last folder name is: subpanel-list I have that folder in my old proyect, and it is Enterprise 7.9 SugarCRM version.
I don´t think it has changed.
And I have another one:
subpanel-for-contacts-contacts_<your_custom__module_name>_1
with a file:
subpanel-for-contacts-contacts_<your_custom__module_name>_1.php
In custom\modules\<custom_module>\clients\base\views you must to have:
record, list, selection-list, supanel-list and all your overridden or added subpanels
like:
subpanel-lev_contracts_subpanel_lev_contracts_lev_courses
and
subpanel-for-contacts-contacts_<your_custom_module_name>_1
there are some differences
I think you must to have:
subpanel-for-lev_contracts-lev_contracts_lev_courses_1
Regards.