beechit/default-upload-folder

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

Installs: 11 845

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 3

Forks: 11

Open Issues: 1

Type:typo3-cms-extension

1.2.0 2021-02-09 08:42 UTC

This package is auto-updated.

Last update: 2021-02-11 11:08:32 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