beechit/default-upload-folder

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

Installs: 2 514

Dependents: 0

Suggesters: 0

Stars: 6

Watchers: 5

Forks: 4

Open Issues: 3

Type:typo3-cms-extension

1.0.1 2019-04-17 13:12 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 7 LTS or TYPO3 8.*