[TYPO3-dev] get TCA['columns'] from extend plugin

Tudor tudor.pali at fecher.eu
Thu Mar 25 12:46:55 CET 2010


On 3/24/2010 5:45 PM, Steffen Müller wrote:
> It's all in the manual of sr_feuser_register:
> http://typo3.org/documentation/document-library/extension-manuals/sr_feuser_register/2.5.24/view/1/6/ 
>
>
> 1. Add subpart for your fields to HTML template
> 2. Register fields in TS configuration parts
> 3. Use hook in your extension
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['extendingTCA'][] 
> = 'mynewext';
>

I try to put:
if (TYPO3_MODE=='FE')    {
     
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['extendingTCA'][] 
= 'petinfofeusers';
}
in my ext_localconf.php file.   But didn't work for me.

In the addTcaMarkers function at the line where each fields is tested 
and writen in some html element i didn't have my fields.

         foreach ($this->TCA['columns'] as $colName => $colSettings) {

             if (t3lib_div::inList($fields, $colName)) {





More information about the TYPO3-dev mailing list