⚠ 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

modify menu



rizal.anhar
  • profile picture
  • Member

Posted 02 April 2013 - 02:15 AM

Hello, I'm newbie in Grocery CRUD, but I'm realy want can this

 

i've question about grocery crud for codeigniter :

 

1. how to modify fields in a menu edit and add?? sample : I have 1 database, in database have 1 table, and in table have 10 fields.. when the field in the database show, and I if click add or edit menu, just 5 fields that show on the menu add or edit..

 

 

thanks..please help me

 

 


rizal.anhar
  • profile picture
  • Member

Posted 02 April 2013 - 02:16 AM

Hello, I'm newbie in Grocery CRUD, but I'm realy want can this


 


i've question about grocery crud for codeigniter :


 


1. how to modify fields in a menu edit and add?? sample : I have 1 database, in database have 1 table, and in table have 10 fields.. when
the field in the database show, and I if click add or edit menu,i want just 5 fields that show on the menu add or edit..


Dale
  • profile picture
  • Member

Posted 02 April 2013 - 03:20 AM

You need to tell GC what fields you want displayed...

 

           $crud->columns('name', 'address');

 

before you render it. The documentation has lots of examples.


victor
  • profile picture
  • Member

Posted 02 April 2013 - 07:10 AM

http://www.grocerycrud.com/documentation/options_functions/fields

http://www.grocerycrud.com/documentation/options_functions

http://www.grocerycrud.com/documentation