Skip to content

Commit 6c2687d

Browse files
authored
[!!!][TASK] Remove duplicate doktype restriction configuration (#1593)
Resolves: TYPO3-Documentation/Changelog-To-Doc#1269 Releases: main
1 parent 8ed7e84 commit 6c2687d

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

Documentation/PageTsconfig/Mod/WebList.rst

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -588,20 +588,25 @@ Example: Hide the "Download" and "Export" links
588588

589589
.. include:: /CodeSnippets/PageTSconfig/Mod/noExportRecordsLinks.rst.txt
590590

591-
.. index::
592-
noViewWithDokTypes
593-
Buttons; View page
594591
.. _pageTsConfigWebList-noViewWithDokTypes:
595592

596-
noViewWithDokTypes
597-
==================
593+
noViewWithDokTypes (removed)
594+
============================
595+
596+
.. versionchanged:: 14.0
597+
The TSconfig option :typoscript:`mod.web_list.noViewWithDokTypes` has been
598+
removed since it just duplicated the existing configuration
599+
`TCEMAIN.preview.disableButtonForDokType <https://docs.typo3.org/permalink/t3tsref:confval-tcemain-preview>`.
600+
601+
Remove any usage of :typoscript:`mod.web_list.noViewWithDokTypes` from Page
602+
TSconfig.
603+
604+
Instead, configure the equivalent behavior using:
598605

599-
.. confval:: noViewWithDokTypes
600-
:name: mod-web-list-noViewWithDokTypes
601-
:type: string (comma-separated list of integers)
602-
:Default: `254,255`
606+
.. code-block:: typoscript
607+
:caption: EXT:site_package/Configuration/TSconfig/Page/TCEMAIN.tsconfig
603608
604-
Hide view icon for the defined :ref:`doktypes <t3coreapi:list-of-page-types>`.
609+
TCEMAIN.preview.disableButtonForDokType = 199, 254
605610
606611
.. index::
607612
table.[tableName].hideTable

0 commit comments

Comments
 (0)