[Typo3-dev] Flexforms and Typoscript [was: Re: RFC: TYPO3, Kickstarter and M-M database relations]

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Fri Oct 7 14:53:34 CEST 2005


Peter Niederlag schrieb:
> Hi,
> 
> Martin Kutschker schrieb:
> [...]
> 
>>Unfortunately flexforms are flexible but don't work well in a Typoscript
>>context. And they cannot be configured by page TS. :-(
> 
> 
> I my flexform pi's I do "flatten" all flexform-fields and values and add
> them to $this->cObject->data.

Well, there's even an API for that (in pi_base). I know and am quite 
happy with it.

> That way you can easily use the values in Typoscript in a pretty
> flexible way.

Sure. I said nothing about using them in plugins. There they are great 
and their only drawback is the performance issue due xml parsing.

The problems are elsewhere:

You cannot use their contents in TS, eg. getData worls only on 
real/record fields.

And you cannot remove them from the UI in the BE via page TS. You cannot 
set defaults via TS etc.

Masi




More information about the TYPO3-dev mailing list