Bolt: Custom upload folder when using upload field

Created on 28 Jun 2017  Â·  4Comments  Â·  Source: bolt/bolt

The possibility to create an upload field in a contenttype is a nice feature. Sadly I can't set a custom upload location for a specific field. I need this so I can organize my files with folders with a subject name instead of the month/year the files are uploaded in by default. Does Bolt get this in the (near) future?

All 4 comments

It's not mentioned in the docs yet (https://github.com/bolt/docs/pull/754 has not been deployed yet), but the upload parameter mentioned in the cheatsheet here: https://docs.bolt.cm/3.2/cheatsheet#field-options-for-contenttypes-in-contenttypes-yml does exactly that and has been available at least since 2.2.

I'll close this for now, and if you have any problems with it please open another issue!

Interestingly, my TODO today is to bug a few people about some docs PRs and merge and deploy recent updates … stay tuned :smile:

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dolcy picture dolcy  Â·  5Comments

GwendolenLynch picture GwendolenLynch  Â·  4Comments

bobdenotter picture bobdenotter  Â·  4Comments

ankedsgn picture ankedsgn  Â·  4Comments

michaelhthomas picture michaelhthomas  Â·  3Comments