You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The special fileFolder configuration
options
for TCA columns of type select can be used to fill a select field with
files (images / icons) from a defined folder. This is really handy, e.g.
for selecting predefined icons from a corporate icon set. However, in
installations with multiple sites, such icon sets usually differ from
site to site.
Therefore, the fileFolder configuration can now be overridden with
page TSconfig, allowing administrators to easily handle those situations
by e.g. using different folders or allowing different file extensions,
per site.
To streamline both, the TCA configuration and the corresponding
overrides, the fileFolder configuration options have been moved into a
dedicated sub array fileFolderConfig, some options have been renamed:
fileFolder option folder
fileFolder_extList to allowedExtensions
fileFolder_recursions to depth
A TCA migration wizard is available, showing where adjustments have to
take place.
Except config.fileFolderConfig.folder, the new options can not only
be used to override an existing property, but also to define one,
which has not yet been configured in TCA.
Impact
It's now possible to override the TCA fileFolder configuration options
with page TSconfig, allowing administrators to manipulate the available
items on a page basis.
The fileFolder TCA configuration is furthermore streamlined and now
encapsulated in a dedicated sub array fileFolderConfig.
Backend, TCA, TSConfig, ext:backend
The text was updated successfully, but these errors were encountered:
Feature: #94406 - Override fileFolder TCA configuration with TSconfig
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.4/Feature-94406-OverrideFileFolderTCAConfigurationWithTSconfig.html
Feature: #94406 - Override fileFolder TCA configuration with TSconfig
See 94406
Description
The special fileFolder configuration
options
for TCA columns of type
select
can be used to fill a select field withfiles (images / icons) from a defined folder. This is really handy, e.g.
for selecting predefined icons from a corporate icon set. However, in
installations with multiple sites, such icon sets usually differ from
site to site.
Therefore, the
fileFolder
configuration can now be overridden withpage TSconfig, allowing administrators to easily handle those situations
by e.g. using different folders or allowing different file extensions,
per site.
To streamline both, the TCA configuration and the corresponding
overrides, the
fileFolder
configuration options have been moved into adedicated sub array
fileFolderConfig
, some options have been renamed:fileFolder
optionfolder
fileFolder_extList
toallowedExtensions
fileFolder_recursions
todepth
A TCA migration wizard is available, showing where adjustments have to
take place.
Before:
After:
Thus, the following TSconfig options can be used to overriding their TCA
counterpart:
As already known from TCEFORM, those options can be used on various
levels
On table level:
On table and record type level:
On flex form field level:
Note
Except
config.fileFolderConfig.folder
, the new options can not onlybe used to override an existing property, but also to define one,
which has not yet been configured in TCA.
Impact
It's now possible to override the TCA
fileFolder
configuration optionswith page TSconfig, allowing administrators to manipulate the available
items on a page basis.
The
fileFolder
TCA configuration is furthermore streamlined and nowencapsulated in a dedicated sub array
fileFolderConfig
.Backend, TCA, TSConfig, ext:backend
The text was updated successfully, but these errors were encountered: