[TYPO3] Extending another extension's form - with a flexform
Francois Suter
fsuter at cobweb.ch
Thu Jun 12 22:22:30 CEST 2008
Hi Stephen,
> Is this possible? Can you create a flexfrom for an extensions form when it
> doesn't have one? If yes, what happens if an extension creates a flexform,
> and then you install another extension that also trys to add a flexform to
> the same extension?
>
> Would the first extensions flexform be deleted? Would two flexforms appear
> on the form? Or would the sheets from both get merged somehow?
Basically a flexform is just a field in a database record where all the
data from the flexform is stored as a XML structure. If you want to add
a flexform tt_news (in your example), you have to add a column of type
"text" and create an appropriate TCA for it (a column of type "flex").
Your database field will be called something like "tx_someext_flex". If
someone else adds a flexform to tt_news too, it will most likely have
its own database field and its own TCA definition, so the two fields
will co-exist.
HTH
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-english
mailing list