[TYPO3-dev] Add And modify column via $TCA
Pierre Rouwens
prouwens at infoglobe.ca
Tue Jan 3 22:17:44 CET 2006
Hi,
Mea maxi culpa ... in ext_tables.php it works better. with of course
t3lib_div::loadTCA("tt_content");
Pierre
Pierre Rouwens a écrit :
> Hi there,
>
> I need to modify the TCA via an extension ...
> I've created an empty extension via kickstarter and manually add a
> tca.php which contains this :
> <?php
> if (!defined ('TYPO3_MODE')) die ('Access denied.');
>
> $TCA['tt_content']['columns']['colPos']['config']['items']['1']['0'] =
> "Contenu principal";
>
> ?>
> But it doesn't works... i know i'm wrong somewhere but can't figure out
> where ... any hint please
>
> Pierre
More information about the TYPO3-dev
mailing list