How to Customize design for "add record" page?
Customize design for "add record" page
- Single Page
Posted 17 January 2015 - 06:30 AM
Posted 17 January 2015 - 14:16 PM
well.. if you need a custom page layout - what i suggest is .. dont bang your head trying to modify the GC system unless u need it the same for every other page in across the system.
For that - what i suggest you do is create a custom view for add page (also the controller that will save the record).
When user clicks on add button.. you get the crud->getState() as 'add'. When found - instead of proceeding further with the GC functionality- just load the view...
once the data is submitted... / inserted - redirect back to the gc function library
Happy GCing:)