[TYPO3-dev] TCA question
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Fri Dec 30 19:10:03 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Try:
$GLOBALS['TSFE']->includeTCA(1);
Regards
Elmar
Christoph Koehler schrieb:
> 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
- --
Climate change 2005: Mexico, Guatemala, New Orleans, Sahel, Bangladesh,
Spain, Portugal, Austria, Swiss, France, ...
Production of CO2 is killing people.
Production of CO2 just for fun is killing people just for fun.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDtXf7O976RNoy/18RAlJBAJsG9+zcQfZ1KA7BgWB25gN2Jt7T2QCgxNf0
RWjudeaJV6p7+0SwgWvUAlo=
=j6bH
-----END PGP SIGNATURE-----
More information about the TYPO3-dev
mailing list