From dfff99fe4eb477f3366b8812b7ee5219639bb93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Jahnsm=C3=BCller?= Date: Wed, 1 Sep 2021 22:15:04 +0200 Subject: [PATCH 1/2] Update list.md --- docs/dev/reference/dca/list.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/dev/reference/dca/list.md b/docs/dev/reference/dca/list.md index 0978c8a1e..3a80fb0de 100644 --- a/docs/dev/reference/dca/list.md +++ b/docs/dev/reference/dca/list.md @@ -79,6 +79,7 @@ $GLOBALS['TL_DCA']['tl_example']['list']['global_operations'] = [ | icon | Icon (`string`) | Path and filename of the icon. | | class | CSS class (`string`) | CSS class attribute of the button. | | attributes | Additional attributes (`string`) | Additional attributes like event handler or style definitions. | +| showOnSelect | Show on select `bool` | ? Default `false` | | [button_callback](../callbacks/#list-global-operations-operation-button) | Callback function (`array`) | Call a custom function instead of using the default button function. Please specify as `['Class', 'Method']`. | {{< version "4.7" >}} @@ -103,6 +104,7 @@ $GLOBALS['TL_DCA']['tl_example']['list']['operations'] = [ | href | URL fragment (`string`) | URL fragment that is added to the URI string when the button is clicked (e.g. `act=edit`). | | icon | Icon (`string`) | Path and filename of the icon. | | attributes | Additional attributes (`string`) | Additional attributes like event handler or style definitions. | +| showInHeader | Show in header `bool` | ? Default `false` | | [button_callback](../callbacks/#list-operations-operation-button) | Callback function (`array`) | Call a custom function instead of using the default button function. Please specify as `['Class', 'Method']`. | {{< version "4.7" >}} From 349b26e5650f6fa0f81fc660a01a0025e328e5cb Mon Sep 17 00:00:00 2001 From: fritzmg Date: Wed, 21 Jan 2026 21:44:37 +0000 Subject: [PATCH 2/2] typo --- docs/dev/reference/dca/list.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dev/reference/dca/list.md b/docs/dev/reference/dca/list.md index 2684a36a5..72c7f96c8 100644 --- a/docs/dev/reference/dca/list.md +++ b/docs/dev/reference/dca/list.md @@ -143,7 +143,7 @@ $GLOBALS['TL_DCA']['tl_example']['list']['operations'] = [ | route | Symfony Route Name (`string`) | The button will redirect to the given Symfony route. | | primary | true/false (`bool`) | {{< version-tag "5.5" >}} Shows the operation in the overview, instead of hiding it in the context menu. | | prefetch | `boolean` | {{< version-tag "5.5" >}} Disables [Turbo prefetch][TurboPrefetch] when set to `false`. Defaults to `false` for operations that use `href`. | -| showInHeader | `boolean` | Show the operation in the header of the parent view. | +| showInHeader | `boolean` | Shows the operation in the header of the parent view. | {{% notice "tip" %}} You do not have to define any settings for standard operations. Instead, you can give a list