Skip to content

Commit

Permalink
[FEATURE] User TsConfig option for default resources ViewMode
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf committed Jun 22, 2024
1 parent 4d9b7a2 commit b2f768c
Showing 1 changed file with 24 additions and 0 deletions.
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
-------------------

.. 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

0 comments on commit b2f768c

Please sign in to comment.