[TYPO3-dev] FE-plugins: accessing xtended tables

Dennis Cheung hkdennis2k at gmail.com
Wed Dec 28 02:13:18 CET 2005


Hi,

You need t3lib_div::loadTCA();
FE do not load all ext_tables.php by defaults.

Dennis

On 12/27/05, Elmar Hinz <elmar.DOT.hinz at team.minus.red.dot.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello devs,
>
> I extended tt_address with some fields and did the extension in
> ext_tables.php:
>
> $tempColumns = array( ... );
> t3lib_div::loadTCA("tt_address");
> t3lib_extMgm::addTCAcolumns("tt_address",$tempColumns,1);
>
> That works fine for the BE. I tried different tricks now to access the
> extended TCA definition of tt_address from FE-plugin, but none succeded.
>
> I certainly could copy the whole  $tempColumns = array( ... ); into the
> FE-plugin, but that looks like an ugly solution.
>
> Does anybody know how the trick could work?
>
> Regards
>
> Elmar
>
>
> - --
> 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
>
> iD8DBQFDsRg3O976RNoy/18RAkzKAKCR7QTq4jOqNHcvDsPL1LAIghwJ8QCeIoR/
> 5JkbCETiDFok3ie3j488yYU=
> =mcq1
> -----END PGP SIGNATURE-----
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>




More information about the TYPO3-dev mailing list