From b2f768c4157d39a4c2855e6150a0bdb09115243b Mon Sep 17 00:00:00 2001 From: "lina.wolf" Date: Sat, 22 Jun 2024 14:11:32 +0200 Subject: [PATCH] [FEATURE] User TsConfig option for default resources ViewMode Resolves https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/926 Releases: main --- Documentation/UserTsconfig/Options.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/UserTsconfig/Options.rst b/Documentation/UserTsconfig/Options.rst index ad2c947..8652b72 100644 --- a/Documentation/UserTsconfig/Options.rst +++ b/Documentation/UserTsconfig/Options.rst @@ -293,6 +293,30 @@ dashboard.dashboardPresetsForNewUsers options.dashboard.dashboardPresetsForNewUsers := addToList(customDashboard) +.. _useroptions-defaultResourcesViewMode: + +defaultResourcesViewMode +------------------- + +.. confval:: defaultResourcesViewMode + :name: useroptions-defaultResourcesViewMode + :type: `list` or `tiles` + :Default: `tiles` + + The option :typoscript:`options.defaultResourcesViewMode` has + been introduced, which allows to define the initial display mode. Valid + values are therefore `list` and `tiles`, e.g.: + + The listing of resources in the TYPO3 Backend, e.g. in the + :guilabel:`File > Filelist` module or the `FileBrowser` can be changed + between `list` and `tiles`. TYPO3 serves by default `tiles`, if the user + has not already made a choice. + + .. code-block:: typoscript: + :caption: EXT:site_package/Configuration/user.tsconfig + + options.defaultResourcesViewMode = list + .. index:: Upload folder; Default .. _useroptions-defaultUploadFolder: