Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

[FEATURE] User TsConfig option for default resources ViewMode #531

Merged
merged 3 commits into from
Jun 23, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Documentation/UserTsconfig/Options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,30 @@ dashboard.dashboardPresetsForNewUsers

options.dashboard.dashboardPresetsForNewUsers := addToList(customDashboard)

.. _useroptions-defaultResourcesViewMode:

defaultResourcesViewMode
-------------------
linawolf marked this conversation as resolved.
Show resolved Hide resolved

.. 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:
Expand Down