Thanks for your reaction. Good to see that it can be easier.
I thought it wasn’t possible to inject javascript in setActionButton because grocery crud would block it so I didn’t try.
First, sorry for the double post. I got a message that this post was blocked by the automatic spamfiler.
I’ve sorted it out by installing a simple jQuery Modal library. (Zebra Dialog) My guess is that bootstrap modals interfere with the modals by GroceryCrud. In integrated it by inserting the zebra…
Hello I really have a problem with setActionButton. Is it possible to return a (local) url and have it displayed on the (or another) popup?
I have this code:
$crud->setActionButton('Upload', 'fa fa-upload', function ($row) {
return '/file-upload/' . $row->id;
}, false);
but I want to have ‘/fil…
Hello you all. Does anyone know if it’s possible to have a redirect on the Modal only.
Right now I have this scenario
After Insert or Update I want to redirect to a new Page where I can manage Files.
I am able to do a CallBack after Update or Insert like this:
$crud->callbackAfterUpdate(functio…
Thank you! I see them now. It’s in the doc for Grocery Crud 1.x
I’m on 2,x enterprise. The documentation for 2.x is very sparse. The actual values are note to be found there. I will bookmark the old documentation. use in case.
Where can I find the possible values of $crud->getStateInfo(); and $crud->getState(); The documentation gives only a small example.
Thank you.
I created an uploadfield to upload related files. For now the field is merely meant to upload related files. The files are collected in another view so the field value isn’t that important. My initial idea was to empty the field after the file is uploaded (and/or moved) to the right folder.
I creat…