[TYPO3-core] RFC: #8503: TCA input with property checkbox can't be removed
Dmitry Dulepov [typo3]
dmitry at typo3.org
Sun May 25 18:09:08 CEST 2008
Hi!
Steffen Kamper wrote:
> it is not possible to override a checkbox setting
> eg nav_title has a checkbox which doesn't make really sense.
>
> So this setting should remove it:
> $TCA['pages']['columns']['nav_title']['config']['checkbox'] = "";
No, it should not. Read TYPO3 Core API [1]:
======================
If defined (even empty), a checkbox is placed before the input field.
If a value other than the value of 'checkbox' (this value) appears in the input-field the checkbox is checked.
======================
The following will remove the checkbox for you:
unset($TCA['pages']['columns']['nav_title']['config']['checkbox']);
-1 on the patch because it breaks compatibility and completely disagrees with TYPO3 Core API.
[1] http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/#id3656141
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-team-core
mailing list