[TYPO3-dev] TCA question

Christoph Koehler christoph.koehler at gmail.com
Fri Dec 30 19:07:20 CET 2005


Hello guys,

I have some trouble with the TCA. I made an extension in the kickstarter  
that extends the fe_user table with some fields. I checked and noticed  
that the extension didn't add a tca.php file, which might be the problem,  
but I thought I'd check first.

Now I would like to get the type of field (text, textarea, etc) to use in  
a different extension to edit those fields in the frontend. I am loading  
the TCA like so:

t3lib_div::loadTCA('fe_users');
$temp = $GLOBALS['TCA'];

but whether or not I load it first, the $temp var shows something, which  
makes me think I am not including the whole TCA right.
Debugging $temp shows me the TCA array, but my fields are not there, just  
the standard fe_users fields.

So how would I get the information about the fields that I added to  
fe_users so I can use it in my extension?

Thanks, and happy holidays!

Christoph




More information about the TYPO3-dev mailing list