Skip to content
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
Merged

Conversation

syrys
Copy link
Contributor

@syrys 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');

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
Added functionality to define upload file types (per field)
@scoumbourdis scoumbourdis merged commit 968a295 into scoumbourdis:master Dec 4, 2014
@scoumbourdis
Copy link
Owner

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

scoumbourdis added a commit that referenced this pull request Dec 4, 2014
luiscoms pushed a commit to luiscoms/grocery-crud that referenced this pull request Jan 14, 2016
@adc91
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants