Enabling the quickcreate editor in the subpanels

sugarcrmdevelopers —  August 2, 2012 — 10 Comments

We had this post a few weeks back which talked about how to change the ‘Select’ button in subpanels to select more than one record at a time. As a follow-up I had a similar question a while back around change the ‘Create’ button to show a QuickCreate form versus redirecting to the EditView screen.

This is simple to do; just copy your subpaneldefs.php file for the module in question to the same location in the custom/ directory, and change the line in the subpanel definition that looks like this…

to this…

You should also create a quickcreatedefs.php file in the metadata/ directory of the custom/modules/YOURMODULE/ directory with the layout for the view if there isn’t one to work with already.

10 responses to Enabling the quickcreate editor in the subpanels


    it doesn’t work for me


       Can you detail the steps you’ve taken?


        i copied the file modules/MYMODULE/metadata/subpanels/default.php in the directory custom/modules/MYMODULE/metadata/subpanels, then i changed the line ‘widget_class’ => ‘SubPanelTopCreateButton’ to ‘widget_class’ => ‘SubPanelTopButtonQuickCreate’.
        i have already created a file quickcreatedefs.php in the directory custom/modules/MYMODULE/metadata, so it wasn’t necessary to create another one.


           Make the change in the module’s custom/modules/MYMODULE/metadata/subpaneldefs.php file instead, as that one will override the modules/MYMODULE/metadata/subpanels/default.php setting


    im interested on an entirely different thing, how do I disable the quick create in only one sub panel and only have Select… there is a sub panel i only want users to select and not create…

Trackbacks and Pingbacks:

  1. call create page - October 15, 2012

    […] […]

  2. Quickedit in CE6.6? - April 24, 2013

    […] […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s