beechit/default-upload-folder

Make it possible to configure the default upload folder for a certain TCA column

Installs: N/A

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 5

Forks: 14

Open Issues: 4

Type:typo3-cms-extension

1.2.1 2021-03-19 08:35 UTC

This package is auto-updated.

Last update: 2021-04-21 08:27:31 UTC


README

Make it possible to configure the default upload folder for a certain TCA column

How to use:

  1. Download form TER or require (composer require beechit/default-upload-folder) extension default_upload_folder
  2. Install extension default_upload_folder via the extension manager
  3. Create the default folders (folder need to exists and editor needs to have access to the folder)
  4. Add configuration to pageTs
    default_upload_folders {
        # folder can be a combined identifier
        tx_news_domain_model_news = 1:news
        # Or a folder relative to the default upload folder of the user
        tx_news_domain_model_news = news

        # You can set a folder for the whole table of for a specific field of that table
        tx_news_domain_model_news.fal_related_files = news_downloads
        tx_news_domain_model_news.fal_media = news_media

        # You can set a fallback for all tables
        defaultForAllTables = 1:myDefaultUploadFolderForThisPartOfTheTree
    }

Requirements:

TYPO3 10 LTS