![]() |
v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD (/showthread.php?tid=40505) |
v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-04-2012 [eluser]rtan[/eluser] Hi, I would like your suggestion regarding including jquery stepy for editing the contents, I have more than 50 fields to edit and need to break them in part preferably with fieldset. Please advise. regards. v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-09-2012 [eluser]yepwingtim[/eluser] Is it possible to have a actual checkbox layout rather than the bloated two table multi check interface thing? v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-11-2012 [eluser]web-johnny[/eluser] [quote author="yepwingtim" date="1328824187"]Is it possible to have a actual checkbox layout rather than the bloated two table multi check interface thing?[/quote] No this is not able till now. I have change the interface though at the new version 1.1.8 now it's much more interesting. Have a look of the attached image. v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-11-2012 [eluser]MatthewSchenker[/eluser] Hi web-johnny, I've been working with GroceryCRUD a bit more. How do we use the CodeIgniter form helper with GroceryCRUD? Is this possible? Thanks, Matthew v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-11-2012 [eluser]goFrendiAsgard[/eluser] I think there is no way doing that, since groceryCRUD has it's own form (but I don't exactly know ![]() If you want to validate the data, you might use callback v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-12-2012 [eluser]web-johnny[/eluser] [quote author="MatthewSchenker" date="1328966467"]Hi web-johnny, I've been working with GroceryCRUD a bit more. How do we use the CodeIgniter form helper with GroceryCRUD? Is this possible? Thanks, Matthew[/quote] Thank you goFrendiAsgard for your answer and yes you are right. The only way to actually use the form_helper is with the callback_add_field and callback_edit_field. But to tell you the truth I don't understand why and where to use form_helper for grocery CRUD. An example of using a form helper could be: Code: function example_callback_add_field(){ But I don't really understand what are you looking for. v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-12-2012 [eluser]MatthewSchenker[/eluser] Hello web-johnny, As always, thanks for your great answers! I've been trying various CRUD methods in CodeIgniter, and Grocery CRUD is definitely terrific. Most of the methods I am reading about involve using the Form Helper. Just for comparison, I was wondering about Grocery CRUD with this. Do you think it's easier and more powerful to just use Grocery CRUD callbacks instead of the CI Form Helper? Thanks again, Matthew v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-12-2012 [eluser]the_unforgiven[/eluser] It works well with 2.1.0 and using since Friday this week what a great piece save lots of time, thanks @web-johnny v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-12-2012 [eluser]web-johnny[/eluser] [quote author="MatthewSchenker" date="1329071899"]Hello web-johnny, As always, thanks for your great answers! I've been trying various CRUD methods in CodeIgniter, and Grocery CRUD is definitely terrific. Most of the methods I am reading about involve using the Form Helper. Just for comparison, I was wondering about Grocery CRUD with this. Do you think it's easier and more powerful to just use Grocery CRUD callbacks instead of the CI Form Helper? Thanks again, Matthew[/quote] I totally believe that it's more powerful by NOT using form_helper. The good thing about grocery CRUD is that time after time its getting more stable as it uses less and less code from CI . This is very useful for futures updates. For example even if major changes will be in Codeigniter , grocery CRUD is still stable and update-able without any problem. That's the secret that is still compatible with 1.7.x ;-) The callbacks are pretty cool idea and I will try to have more documentation, so users can use them easily without any doubt. v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD - El Forum - 02-26-2012 [eluser]Pieter[/eluser] Hello web-johnny, Wow, I just discovered Grocery CRUD. It looks great! I have one question about relations. Is it possible to use set_relation() when the name of the field isn't the same. Example: Table Users: ----------- id username password Table Profiles: ------------ id user_id first_name last_name Can I relate the "id" field from the Users table with "user_id" field from the Profiles table? (It's an existing project so renaming "id" to "user_id" is a bit difficult). Thanks. |