[Typo3] dynaflex : how to add a simple field

Thomas Hempel thomas at work.de
Tue Oct 4 12:23:18 CEST 2005


Hi Ismaël,

> OK. So i explain what I wanted to do : I would like to have a normal 
> input  field. For some conditions, I want this field is a flexform. Is 
> it  possible or do I have to create a flexform with one input field and 
> modify  if necessary ?
> (Hopefully the first solution)
It's the same as I explained before. If you want to add a field into the 
TCA there have to be an corresponding field in the DB. Even if you want 
to add a complete flexform.
I think the easiest way to solve your problem, is to convert your 
current TCA into a flexform. So you can modify it as you want. ;-)

I could implement some routines that add and drop fields in the DB 
dynamically, but I don't think that this is a nice solution...

So far, it would be nice if tell when you finished your work and tell me 
how it works. ;-)


Greets,
Thomas

-- 
typo3-unleashed.net



More information about the TYPO3-english mailing list