diff --git a/Documentation/Images/ManualScreenshots/List/FileListPrimaryActions.png b/Documentation/Images/ManualScreenshots/List/FileListPrimaryActions.png new file mode 100644 index 00000000..5fc3a195 Binary files /dev/null and b/Documentation/Images/ManualScreenshots/List/FileListPrimaryActions.png differ diff --git a/Documentation/UserTsconfig/Options.rst b/Documentation/UserTsconfig/Options.rst index dcf62436..1344a326 100644 --- a/Documentation/UserTsconfig/Options.rst +++ b/Documentation/UserTsconfig/Options.rst @@ -536,7 +536,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 @@ -555,6 +557,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: