Skip to profile content
What I’ve done, instead of not using GroceryCrud, is I’ve fixed it, improved it, and rewrote parts to extend it. If the code was exclusively GPL licensed, I would be obliged to publish my fixes, improvements, and extensions – pushing my commits to github, as you would be obliged with your improvemen…
Title says it all. And another sentence to make in more than 20 characters.
The problems with the way you have it licensed are the following. No community development of the community edition is possible. The first thing a community would want to do with the community edition would be to fix the bugs in it and add the obvious extension that exist in the commercial edition …
According to the docs the setActionButton callback has one parameter $row that is a row object containing all the fields for the table row as attributes. But it appears that the callback actually only receives the primary key as its one parameter. If the setActionButton callback wants access to the …
I certainly appreciate the work you put into GC. I understand how you can feel “alone” in the work. That said, have you considered using the GNU GPL3 or Alfero license instead of the MIT license? It’s one thing to publish the code, quite another to make it a true copyleft open source project th…
I was a little puzzled why the string set by setSubject doesn’t appear anywhere on the flexgrid list page except as part of the add field (if setAdd is true). It seemed to me it should be used as a title somewhere. There’s this nice collapsible feature for the grid. If you collapse the grid it seems…
Version 1.x had field type readonly. This seems to have vanished in version 2.x and reappears as a fine-grained readonly in v3.x Because readonly was used extensively in this project I’m porting, I need another workaround for my 1.x → 2.x porting. I guess unsetEditFields is a little like readonly.…
Typical controller logic to jail into edit $state = $crud->getState(); $state_info = $crud->getStateInfo(); switch ($state) { case 'edit': case 'update_validation': case 'update': case 'success': $primary_key = …
To answer my own question, I guess there are two workaround I’ve thought of. One is to simply use a where clause to restrict the list to just one record. Sort-of a preview read-only view. The user then needs to click edit to change anything. Not quite as good as going directly to the edit page, but…
It appears that the README documentation on github for the community edition is relatively accurate, such as it is. I see correct docs for the where() function given there. Perhaps you should redirect your 2.x documentation on the main website to point to the correct docs for the community 2.x editi…
It appears that the fourth parameter where clause in setRelation has no effect in v2.x even though the docs seem to indicate it should work. I can type pretty much anything as a fourth parameter to setRelation and nothing happens. Maybe I’m missing something, but it seems to be unimplemented. I’m …
In the documentation for v 2.x describing the where() function, it says the suggested syntax is $crud->where([ 'customers.country' => 'USA' ]); Which appears to be using an associative array to specify the search condition. But the function where in GroceryCrud.php library version 2.0 that I j…
That’s so unfortunate. A typical use case is with a database of users. Each user should be able to edit their own profile record, but no-one else’s. I can’t believe your v2.x doesn’t support this very simple and common use case, as it did just fine in v1.x I understand that your removed the functi…
I’m porting a grocerycrud 1.x app to version 2.x and I can’t find an equivalent for unset_list and unset_back_to_list. How is this done in version 2? Basically what I’m trying to accomplish is to display the edit page for a specific record without the option of returning to the list of all records,…