New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added functionality to define upload file types (per field) #290

Merged
merged 1 commit into from Dec 4, 2014

Conversation

Projects
None yet
3 participants
@syrys
Copy link
Contributor

syrys commented Jul 23, 2014

Simply use for upload location and file types:
$crud->set_field_upload('img_only_field','assets/uploads/files', 'gif|jpeg|jpg|png|tiff');

Added functionality to define upload file types (per field)
Simply use for upload location and file types:
$crud->set_field_upload('img_only_field','assets/uploads/files', 'gif|jpeg|jpg|png|tiff');

scoumbourdis added a commit that referenced this pull request Dec 4, 2014

Merge pull request #290 from syrys/master
Added functionality to define upload file types (per field)

@scoumbourdis scoumbourdis merged commit 968a295 into scoumbourdis:master Dec 4, 2014

@scoumbourdis

This comment has been minimized.

Copy link
Owner

scoumbourdis commented Dec 4, 2014

Merged to the master branch. Thanks for the pull request :)

scoumbourdis added a commit that referenced this pull request Dec 4, 2014

luiscoms added a commit to luiscoms/grocery-crud that referenced this pull request Jan 14, 2016

@adc91

This comment has been minimized.

Copy link

adc91 commented Feb 15, 2017

This validates from the side of PHP but in the JS continues to stretch the default of $this->config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment