I've read where several users have encountered the problem I have - while using the online editor to customize a subpanel, I have removed the link in my contacts list view.
I tried replacing the entire modules/contacts/ folder with the original files but found that this did not fix the problem.
So, I went searching for which files to edit and found the following:
/custom/modules/Contacts/subpanels/AccountForAccounts.php <---defines the new fields to be displayed
/custom/moducles/Accounts/Ext/Layoutdefs/layoutdefs.ext.php <---seems to tell the system to override the subpanel name: AccountForAccounts
/custom/Extension/modules/Accounts/Ext/Layoutdefs/AccountContactsForAccounts.php <---also tells the system to override the subpanel name: AccountForAccounts
- - the last two files noted above include this code:
<?php
//auto-generated file DO NOT EDIT
$layout_defs['Accounts']['subpanel_setup']['contacts']['override_subpanel_name'] = 'AccountForAccounts';
?>
I never found an html file that creates the table layout.
------------------
At this point, I would be happy if I could simply revert back to the original layout of the Contacts subpanel when I go to the Accounts tab - I could then try again to edit the layout while being more careful not to delete the "name" label and the link. However, after all my digging, I can't figure out what to do to revert since the files running the behavior are not in the main modules/Contacts/ directory
Another note: when I'm using the editor to "edit this file" I don't see the option to view the html, nor do I see the MOD.LBL fields in the toolbox. Is this part of my problem (see screen grab attached)
Any help would be greatly appreciated.
Sugar Suite OS 4.2.1
Server:
FreeBSD 4.11-STABLE
mysql Ver 12.22 Distrib 4.0.16
PHP 4.4.1


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks