[TYPO3-core] RFC: overriding field rendering in TCEforms by user func

Franz Holzinger franz at fholzinger.com
Tue Feb 28 21:10:56 CET 2006


Hello René,


>Type: feature
>
>Description:
>The standard field types like input, check, ... in TCEforms are hardcoded. Own 
>field rendering can be done by using 'user' types but the default rendering 
>cannot be overridden.
>
>The patch allow to implement the rendering of the standard types with 
>extensions using a hook.
>For every type more than one rendering class can be registered. Each object 
>will be asked with a isValid() method if it wants to render the field. That 
>allows for example to register 2 rendering classes for the type 'input' while 
>one renders date fields and the other all other input fields. An example is 
>attached.
>
>  
>

please use a temporary variable for

> $PA['fieldConf']['config']['form_type']

because this is used very often and rather long.


This is a useful hook, I think, thanks.

+1

Greets,

Franz








More information about the TYPO3-team-core mailing list