[TYPO3-ttnews] How to set tt_news-field datetime to readonly for BE-usergroup

Stephen Bungert stephenbungert at yahoo.de
Tue Jul 6 15:45:50 CEST 2010


Just make an extension to alter the tt_news tca, check which user group id 
the current be user has, and then alter the field if the BE user belongs to 
the BE group that should not edit the fireld



"Tobias Schaefer" <tobias.schaefer at ptb.de> schrieb im Newsbeitrag 
news:mailman.1.1278083141.21478.typo3-project-tt-news at lists.typo3.org...
> Hi,
>
> I'd like to set the tt_news-field datetime to readonly for a certain 
> BE-usergroup. I tried this typoscript in the usergroup-ts-config but it 
> didn't worked:
> TCEFORM.tt_news.datetime.config.readOnly = 1
>
> I've TYPO3 v4.2.8 and tt_news v2.5.2 installed.
>
> Any suggestions?
>
> Cheers,
> Tobias
>
> 




More information about the TYPO3-project-tt-news mailing list