I'm trying to add another button to the "actions" dropdown on a subpanels record. I found this http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/UI_Model/Subpanels/Introduction/ but my additions are not working as expected.
If I change /clients/base/views/subpanel-list/subpanel-list.php and remove
'type' => 'unlink-action',
'icon' => 'icon-unlink',
'label' => 'LBL_UNLINK_BUTTON',
This will get rid of the unlink button for every subpanel. I know this isn't upgrade safe, but it points me in the right direction as which files to touch next. I also tried adding code to custom/modules/Contacts/clients/base/views/subpanel-list/subpanel-list.php but because I already have custom/modules/Contacts/clients/base/views/subpanel-for-<link>/subpanel-for-<link>.php I think it is getting overridden.
Any help is appreciated! Thanks!