Skip to content

Commit

Permalink
Add image for file_list.primaryActions
Browse files Browse the repository at this point in the history
  • Loading branch information
froemken authored and github-actions[bot] committed Aug 16, 2024
1 parent b4dbdec commit cddcbeb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion Documentation/UserTsconfig/Options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,9 @@ file_list.primaryActions
:Default: :typoscript:`view,metadata,translations,delete`

Option to add more primary actions to the list view,
which are otherwise only accessible through the "..." menu.
which are otherwise only accessible through the "..." menu in file list
module.

The list of actions to be displayed can be given in the TSConfig of
the backend user. The actions that can be set are

Expand All @@ -531,6 +533,24 @@ file_list.primaryActions
* :typoscript:`upload`
* :typoscript:`view`

Example:

.. code-block:: tsconfig
:caption: EXT:site_package/Configuration/user.tsconfig
# This will add "copy", "cut" and "replace" buttons to the three default
# values. "translations" can be omit, as it will be added by default,
# if a TYPO3 site is set up multilingual.
options.file_list.primaryActions = view,metadata,delete,copy,cut,replace
.. figure:: /Images/ManualScreenshots/List/FileListPrimaryActions.png
:alt: Show primary action with additional copy, cut and replace buttons
:class: with-shadow

See option `primaryActions` with three default buttons and the three
additional buttons "copy", "cut" and "replace". As there is no TYPO3
site set up multilingual the button "translations" is not rendered in
that TYPO3 environment.

.. index:: File list; Thumbnails height
.. _useroptions-file_list-thumbnail-height:
Expand Down

0 comments on commit cddcbeb

Please sign in to comment.