[TYPO3] dynaflex produces wrong flexform-format
Thomas Hempel
thomas at work.de
Wed May 31 15:00:29 CEST 2006
Hi Johannes,
> Is there any simple solution to make dynaflex run directly when a
> "create new dataset" backend-form appears? Why is it only running when
> the action is kind of edit, change type or so? Why isn't dynaflex
> parsing the flexform when the action is 'new' ?
That has a simple reason! In the TCA file you check if the data from the form
has changed! If it has not, dynaflex will not do anything.
You can simply call it via a hook in tcemain (e.g.
processDatamap_afterDatabaseOperations).
Or if you use TYPO3 4.0 you can call it in a hook in tce_forms. See the tutorial
extension, you can find on my homepage.
Greets,
Thomas
--
typo3-unleashed.net
More information about the TYPO3-english
mailing list