And then I have a file called custom\modules\Contacts\metadata\subpanels\contacts_contacts_1.php
that contains the array with all the fields,
$subpanel_layout['list_fields'] = array (
ā¦etc.
Notice I donāt use the override_subpanel_name field. I just use āsubpanel_nameā and then that string gets used as the file name.
Also, watch out for how these things match the database names, I believe contacts_contacts_1 is also the name if the database table, Iām not sure if my code works only because of that coincidence.
In case of doubt, the way I solve this kind of problems is I step through the code with Eclipse to see where itās looking for files, and what itās using to chose the filenames.