[TYPO3-english] How to hide fields in BE forms from extensions for all users ?

Christoph Stadler christophe at stadler.com
Tue Nov 30 22:53:30 CET 2010


thank you so much, this works :)

i should have asked erlier ...

On 11/30/10 9:51 PM, Andreas Kiessling wrote:
> 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