⚠ In case you've missed it we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠

Change file path on list view

upload file path set_field_upload

  • Please log in to reply
No replies to this topic

#1 Eduardo



  • Members
  • Pip
  • 1 posts

Posted 04 February 2018 - 12:15 AM

Hi, I have an input file to upload images so I set the GC as the documetation explains how to do it:


$crud->set_field_upload('image', 'assets/uploads/temp', 'jpg|jpeg|png');


I always upload the images in a temporary folder before send them to the real folder to prevent images to get lost in the limbo if something goes wrong. So everything goes well until I go back to the image list because it comes with the temp path. How can I solve this problem with GC because it could be easily done in pure PHP. I did some researches before coming here but didn't find any solution for this problem.


Thanks in advance.

Also tagged with one or more of these keywords: upload, file, path, set_field_upload

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users