AnsweredAssumed Answered

Add button to subpanel record's "actions" dropdown (Edit, Unlink) in a specific module

Question asked by Daniel Moser on Apr 29, 2016
Latest reply on Aug 5, 2016 by Follow John



I'm trying to add another button to the "actions" dropdown on a subpanels record. I found this 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!