-
Notifications
You must be signed in to change notification settings - Fork 58
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
How to create dynamic folder #88
Comments
Hi Ardhi, If you pass in something like: eg. If your model is Blogs and field is 'feature_image' then the uploads will be at "uploads/blog/feature_image'. |
Thanks for your reply. Actually I need to replace {fieldName} with the content of that field, not with the name of the field. So it would be changing dynamically depends on the contents. Suppose something like this : If the content of the field is car, truck and van then it would upload to the appropriate folders : car, truck or van. Thanks. ------Original Message------ Hi Ardhi, If you pass in something like: eg. If you're model is Blogs and field is 'feature_image' then the uploads will be at "uploads/blog/feature_image'. Reply to this email directly or view it on GitHub: |
OK I see what you mean. Meio Upload can't do that. You'd need to write the enhancement yourself. |
Hi Jose,
I'm using meioupload ver. 2.2 and works fine. It is now store the uploaded files into static directory
/upload//filename/
I want to put the uploaded files into dynamic folder such as the main id of a documents
/upload//filename/<document_id>
How to do that?
Thanks
Ardhi
The text was updated successfully, but these errors were encountered: