[Typo3-dev] Flexforms <-> Typoscript

Alexander Langer alex at big.endian.de
Thu Mar 10 12:31:47 CET 2005


Hi!

How are you supposed to use a frontend plugin with flexforms 
configuration from Typoscript?

For example it would be nice to do something like this:

page.10 < plugin.tx_myplugin
page.10.flexforms_ds.sDEF.bla = foo

I have several people that ask for a way to include one of my frontend 
plugins directly via Typoscript instead of a Page Content object in the 
backend, but I don't see a way way to configure it only with Typoscript. 
  I've searched with Google and the mailinglist archives, but couldn't 
find a solution.

However, for maintenance reasons I don't want to double up every 
config-knob in both flexforms_ds.xml and Typoscript, so I'm searching 
for a more generic way to define the flexforms values directly from 
Typoscript.

I see getFFValue() uses a check if the xml data structure is an array, 
and the XML data is transformed into an array() anyways.  The same goes 
for Typoscript.  So it would be quite easy to make a 1:1 mapping between 
the flexforms config and the Typoscript tree, but I don't know if 
there's already a way to do so.

Any pointers?

Thanks

Alex




More information about the TYPO3-dev mailing list