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

Dynamic Asset File Path #901

Closed
schwartzmj opened this issue Oct 31, 2022 · 1 comment
Closed

Dynamic Asset File Path #901

schwartzmj opened this issue Oct 31, 2022 · 1 comment

Comments

@schwartzmj
Copy link

I'm looking to save certain uploaded files into a dynamic path, probably WordPress style e.g. /{currentYear}/{currentMonth}/filename.pdf or even /{taxonomy-slug}/filename.pdf.

I've tested listening for various Entry and Asset events, but I'm not finding a way to do it this way.

I propose allowing us to use Antlers to set a dynamic filepath for an Asset field, similar to how Titles and Routes work when setting up a collection.

@jasonvarga
Copy link
Member

Duplicate of #725

@jasonvarga jasonvarga marked this as a duplicate of #725 Oct 31, 2022
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

No branches or pull requests

2 participants