Remove (Hide) a SugarCRM Subpanel

You can hide a SubPanel in an upgrade safe way but unsetting the subpanel via PHP.

Example:

You can hid the Leads SubPanel into Accounts module by customizing the custom/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php, which is a upgrade safe customization. Add the following to the end of the file, before the closing PHP tag.

unset($layout_defs['Accounts']['subpanel_setup']['leads']);
    • Shiro
    • November 18th, 2011

    what version of ur sugarcrm?

    • Shiro
    • November 18th, 2011

    Can you show for sugarcrm-6.2.4?

    The file structure look like different

    • admin
    • November 19th, 2011

    Hey, sorry I haven’t played with Sugar 6 yet.

  1. No trackbacks yet.