[TYPO3-dev] Show or hide flexform field in subject to admin account

Oliver Leitner shadow333 at gmail.com
Tue Oct 21 17:16:00 CEST 2008


Hi Patrick

Is this ment for your own extensions, or are you searching for the core
feature that does that?

greetings
Oliver

On Tue, Oct 21, 2008 at 5:09 PM, Patrick Lobacher <plobacher at n-o-g.de>wrote:

> Hi everybody,
>
> I try to present an input field in a flexform in subject to the admin
> account.
>
> If the BE_USER isAdmin the field should be display (and processed) and
> if not, the user should not even see this field (or the coresponding
> value should be deleted on the way to the database).
>
> Now the question:
>
> - I know that this is possible with "dynaflex", but I don't want the
> user of my extension to install another extension just for this simple task
>
> - Is it possible to hide/show the field with some hook? Which one is the
> correct one? getMainFields_preProcess in class.t3lib_tceforms.php?
>
> - Is there another (simple) solution?
>
>
> Thanks in advance,
> Patrick
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>



-- 
Oliver Leitner
http://www.neverslair-blog.net




More information about the TYPO3-dev mailing list