Skip to content

Commit a07043f

Browse files
[BUGFIX] Handle record export and download options individually (#1523)
* [BUGFIX] Handle record export and download options individually Resolves: TYPO3-Documentation/Changelog-To-Doc#850 Releases: main, 13.4, 12.4 * Update Documentation/PageTsconfig/Mod/WebList.rst * Update Documentation/PageTsconfig/Mod/WebList.rst * [TASK] Minor language corrections Releases:main, Backport 12.4) --------- Co-authored-by: Sarah McCarthy <sarahmccarthy123@yahoo.com>
1 parent c6a4305 commit a07043f

File tree

1 file changed

+43
-8
lines changed

1 file changed

+43
-8
lines changed

Documentation/PageTsconfig/Mod/WebList.rst

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,42 @@ displayColumnSelector
203203
the :guilabel:`List` module. It can be used to compare different fields of
204204
the listed records.
205205

206+
.. _pageTsConfigWebList-displayRecordDownload:
207+
208+
displayRecordDownload
209+
=====================
210+
211+
.. confval:: displayRecordDownload
212+
:name: mod-web-list-displayRecordDownload
213+
:type: boolean
214+
:Default: `1`
215+
216+
The "Download" functionality is available in the :guilabel:`Web > List`
217+
module via the "Download" button in the relevant
218+
table header row. It is available in both the list and the single table
219+
view and can be managed using this option.
220+
221+
As well as the general option, it is also possible to set this option on
222+
a table basis using the
223+
:typoscript:`mod.web_list.table.<tablename>.displayRecordDownload` option.
224+
If this option is set, it takes precedence over the general option.
225+
226+
.. code-block:: typoscript
227+
:caption: packages/my_sitepackage/Configuration/Sets/MySet/page.tsconfig
228+
229+
# Page TSconfig
230+
mod.web_list {
231+
# Disable "Export" button in List module header
232+
noExportRecordsLinks = 1
233+
234+
# Generally disable "Download" button
235+
displayRecordDownload = 0
236+
237+
# Enable "Download" button for table "tt_content"
238+
table.tt_content.displayRecordDownload = 1
239+
}
240+
241+
206242
.. _pageTsConfigWebList-displayColumnSelector-example:
207243

208244
Example: Hide the column selector
@@ -517,7 +553,6 @@ Example: Hide the "Create new record" link.
517553
.. index::
518554
noExportRecordsLinks
519555
Buttons; Export
520-
Buttons; Download
521556
.. _pageTsConfigWebList-noExportRecordsLinks:
522557

523558
noExportRecordsLinks
@@ -528,15 +563,15 @@ noExportRecordsLinks
528563
:type: boolean
529564
:Default: 0
530565

531-
If set, the :guilabel:`Download` and :guilabel:`Export` buttons are hidden
532-
in the list module. This applies to
533-
the :guilabel:`Export` button located at the top left for t3d exports, the
534-
:guilabel:`Download` button directly on the table
535-
listing for csv download and the :guilabel:`Download` button in the tables
536-
single view.
566+
.. versionchanged:: 13.1.0, 12.4.11
567+
Up until these versions this option also hid the
568+
:guilabel:`Download` button used for CSV export.
569+
570+
If set, the :guilabel:`Download` button is hidden
571+
in the :guilabel:`Web > List` module.
537572

538573
This option is for example important to disable batch
539-
download of sensitive data via CSV or t3d exports.
574+
download of sensitive data via t3d exports.
540575

541576
.. include:: /Images/AutomaticScreenshots/WebList/WithExportButtons.rst.txt
542577

0 commit comments

Comments
 (0)