Skip to content

Commit

Permalink
[BUGFIX] Move disableButtonForDokType configuration (#365)
Browse files Browse the repository at this point in the history
The configuration is in the wrong place. After specifying the table, the configuration has no effect. 
See https://github.com/TYPO3/typo3/blob/0113c5431ba0ff48d90c13f89c636533c9c9deed/typo3/sysext/backend/Classes/Controller/PageLayoutController.php#L613

Co-authored-by: Nimmermaer <[email protected]>
  • Loading branch information
github-actions[bot] and Nimmermaer authored Jul 20, 2023
1 parent f51387f commit e62a656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/PageTsconfig/TceMain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,9 @@ preview
:caption: EXT:site_package/Configuration/page.tsconfig
TCEMAIN.preview {
disableButtonForDokType = 199, 254, 255
<table name> {
previewPageId = 123
disableButtonForDokType = 199, 254, 255
useDefaultLanguageRecord = 0
fieldToParameterMap {
uid = tx_myext_pi1[showUid]
Expand Down

0 comments on commit e62a656

Please sign in to comment.