[TYPO3-english] How to hide fields in BE forms from extensions for all users ?
Andreas Kiessling
kiessling at pluspol.info
Tue Nov 30 21:51:17 CET 2010
Hi,
hm, don't know if it works from UserTS, i have only used it from PageTS.
> page.TCEFORM.tx_realty_objects.types.0.contact_data_source {
> disabled = 1
> }
Syntax is like this:
TCEFORM.[put the table name here].[put the field name here].disabled = 1
So for your example, put this in your pageTS:
TCEFORM.tx_realty_objects.contact_data_source.disabled = 1
This disables the field for all types. If you just want to remove it for
a certain type, probably this could work:
TCEFORM.tx_realty_objects.contact_data_source.types.0.disabled = 1
The link i posted is for a core documentation, so no extension is needed
to make that work.
HTH,
Andreas
More information about the TYPO3-english
mailing list