[TYPO3-core] RFC: overriding field rendering in TCEforms by user func
René Fritz
rene at typo3.org
Mon Feb 27 15:40:56 CET 2006
This is a CVS patch request.
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.
René
--
René Fritz
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_tceforms-userhook.patch
Type: text/x-diff
Size: 3925 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060227/9d6ccb25/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.tx_dam_test.php
Type: application/x-php
Size: 1306 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060227/9d6ccb25/attachment-0001.bin
More information about the TYPO3-team-core
mailing list