Closed difagume closed 4 years ago
Hello @difagume as this is still work in progress, I haven't completed the work for upload fields. What I am doing currently is that I am going one by one function and try to change the name and see that it works. More specifically for the functions that are working you can check the README file here: https://github.com/scoumbourdis/grocery-crud-codeigniter-4/blob/master/README.md
A simple rule to remember is, if you see that the name of the function is still snake_case (e.g. set_field_upload) then this is probably a function that it is not implemented yet (it may work but this doesn't mean that it was also tested).
On the other side when a function is with name camelCase (e.g. setTable) that means that this is now in a working state.
I hope it helped.
Regards Johnny
Any approximate time when this file upload thing will be updated on the library?
Hi Johnny thanks for the help,
when using
set_field_upload()
I'm having errors showing the image and trying to upload an image, my code is:according to the indications I should not place
/
at the beginning->set_field_upload('imagen', 'assets/images');
but in the browser I join public with assets, as you can see in the image, instead if I put:
->set_field_upload('imagen', '/assets/images');
the images if they appear.my baseUrl parameter in App.php is:
public $baseURL = 'http://localhost/noticias/public/';
and when I try to load an image I get the following errors:
I wanted to report it, I don't know if it's because of lack of any configuration in my site, any help is very appreciated.