Missing docs on "upload" paths

Open
#1,033 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
documentation

Research direction

No file, test, or documentation entry point is named in the issue. Start by reviewing the existing Bolt 4 documentation and the shown image-field configuration, then establish which upload options are supported. Done means documenting the available options and clearly stating whether paths such as /files/contenttype/YYYY-MM are possible.

Written by the indexing model from the issue text.

Description

The standard upload path for images in records is /files so it seems. That is different from Bolt 3 where files are automagically uploaded to YYYY-MM folders.

I can't find documentation about the upload options in Bolt 4. What are the options for "upload"?

        image:
            type: image
            group: media
            upload: entries

PS
I'd like to be able to upload files to folders like /files/contenttype/YYYY-MM
Is this possible?

Dominant language
PHP
Stars
45
Forks
189
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bolt/docs

All issues in bolt/docs

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.