Hello everyone!
Good afternoon!
First of all, I'd like to thank you Johnny for this amazing project of yours. I came across this tool searching for "CRUD + PHP" on google. It's is an impressive work and a very handy tool for those, like myself, are in need for tools that help us to speed things up in the creation of web apps. As soon as I can, I'll start to donate to this project and I recommend anyone to do it as well, because it worths it.
Now, I have a few suggestions... I mean, it is more like questions...
Imagine the following scenarios:
1 - I'm filling up a form and one of the fields is a select type field filled by data from another table. Now, suppose that the option I want is not in the list and I'd like to add that item without leaving the current form which I'm filling up. Any idea how could I do it? Is there a functionality for that job or should I improvise something else?
2 - How to build up a form with Master-Detail relationship, like Order(Header)-Items(Body) as example?
Thank you all for your attention and for any assistance anyone can provide on these matters.
May the Lord bless you all.
Sergio
Suggestions
Started by Kor, 04 April 2012 - 18:21 PM
- Single Page
Posted 04 April 2012 - 18:21 PM
Posted 04 April 2012 - 18:43 PM
Hello Sergio and welcome to the forum,
First of all thank you for your good words and I hope someone read this post as there where not any donations for about 1 month now and I am trying really hard to improve this CRUD and answer all of the questions in the forum.
Back to your questions now :
1. The instant add at the select form is a feature that many users asked for but noone has done it so I am sorry but I don't have any suggestions for you to share. You have to change the core of grocery CRUD to do this thing. If you done it and it works it would be really appreciated to share your code here (You can see how at: http://www.grocerycr...ample-included/). I have it in mind as a future feature but it will be late as I have more major things to do about CRUD.
2. For the master-detail relationship , a very good developer with username [member='steveoc'] has this feature done and has also his code online at github . You can see the post at: /topic/77-multi-list-hack-chaining-crud-forms-together/ and http://www.grocerycr...indpost__p__302 . The bad thing is this has been tested only at older versions of grocery CRUD (older that version 1.2) and I don't know if this still works. Also read from the posts that other users wrote about this so it could help you.
First of all thank you for your good words and I hope someone read this post as there where not any donations for about 1 month now and I am trying really hard to improve this CRUD and answer all of the questions in the forum.
Back to your questions now :
1. The instant add at the select form is a feature that many users asked for but noone has done it so I am sorry but I don't have any suggestions for you to share. You have to change the core of grocery CRUD to do this thing. If you done it and it works it would be really appreciated to share your code here (You can see how at: http://www.grocerycr...ample-included/). I have it in mind as a future feature but it will be late as I have more major things to do about CRUD.
2. For the master-detail relationship , a very good developer with username [member='steveoc'] has this feature done and has also his code online at github . You can see the post at: /topic/77-multi-list-hack-chaining-crud-forms-together/ and http://www.grocerycr...indpost__p__302 . The bad thing is this has been tested only at older versions of grocery CRUD (older that version 1.2) and I don't know if this still works. Also read from the posts that other users wrote about this so it could help you.