Skip to content

Commit

Permalink
[BUGFIX] Move disableButtonForDokType configuration (#363)
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
  • Loading branch information
Nimmermaer committed Jul 20, 2023
1 parent d76ad83 commit e357d51
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 e357d51

Please sign in to comment.