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']);

3 Responses to “Remove (Hide) a SugarCRM Subpanel”

  1. Shiro says:

    what version of ur sugarcrm?

  2. Shiro says:

    Can you show for sugarcrm-6.2.4?

    The file structure look like different

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>