the menu is not clickable ? or is it just my ubuntu pdf viewer ^^
- grocery CRUD website →
- grocery CRUD forum
- → Viewing Profile: Posts: preg
Community Stats
- Group Members
- Active Posts 7
- Profile Views 5,616
- Member Title Newbie
- Age 31 years old
- Birthday December 8, 1991
-
Gender
Male
-
Location
Valence (France)
-
Interests
eSport / Handball / Friends & my job
User Tools
Friends
preg hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: PDF version of GroceryCRUD 2.1.4 API and Function list
09 January 2014 - 02:53 PM
In Topic: passing controller
09 January 2014 - 11:34 AM
sure jinbatsu has the better answear for that topic. You have to pass your data. Else you could generate a global var but not recommanded.
If u want to use some render with controller like sf2, i don't know if it's possible here.
In Topic: insert categories from a form please help
09 January 2014 - 11:31 AM
hello razerone,
you have to add a function in your default controller (maybe home.php).
like this :
public function categories() { $crud = new grocery_CRUD(); // CHOOSE YOUR TABLE SQL HERE $crud->set_table('categories'); // CHOOSE YOUR SUBJECT HERE $crud->set_subject('Categorie'); // CHOOSE YOUR PAGE TITLE HERE $this->template->set('title', 'Manage your Categories'); // HERE WE WILL CREATE A RELATION FOR PARENT ID $crud->set_relation('parent_id','categories','name'); // first param : foreign KEY // second param : table reference // third param : what column you want see in your list $output = $crud->render(); // here call your template or layout to see your datas $this->template->load('your-layout',$output); }
you don't have to do more. If you want change the type of data input see here :
http://www.grocerycr...ions/field_type
I hope it wil be useful
In Topic: Is there any premade grocery crud user registertaion
09 January 2014 - 10:36 AM
i hope that my topic could help u : http://www.grocerycr...nglish-explain/
In Topic: Is there any premade grocery crud user registertaion
09 January 2014 - 09:44 AM
hi,
i could help you. I already create a new controller and model for that. if u still need it. i will create a new topic with a tutorial.
- grocery CRUD forum
- → Viewing Profile: Posts: preg
- Privacy Policy