⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Customize design for "add record" page



jissmathew
  • profile picture
  • Member

Posted 17 January 2015 - 06:30 AM

How to Customize design for "add record" page?


Amit Shah
  • profile picture
  • Member

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:)