Hi, Is there a way to change the create view for a module? This is for a custom module called orders.
Quick create is not used, as a record for this module is never created via a subpanel.
When you are on the module page and click create order, it displays the edit view. This is not what we want. Is there away when you click create order on the module page, it opens the quick create view not the edit view?
Hi,
There is no direct/simple way to do it.
One thing you can do for your ease. You can go to Your Module
And copy the view fields from this quick create definition file
modules/orders/metadata/quickcreatedefs.php
To
modules/orders/metadata/editviewdefs.php
So in this case, both of the view will become the same.
And if you want to keep the 2 views different. Then you can modify the list view and the detail view tpl files for your module to add quickcreate view links instead of edit view links.