[TYPO3-dev] tt_news duplication dev

Pierre Rouwens prouwens at tc2l.ca
Tue Jul 25 19:28:50 CEST 2006


Hi Ernesto,

Thanks you're right this was the problem.
But i have problem with the "regular way". But i'm pretty sure gonna 
find it ;)

Pierre

Ernesto Baschny [cron IT] a écrit :
> Pierre Rouwens schrieb am 25.07.2006 16:34:
>
>   
>> Due to incoming needs, i have choose to duplicate the tt_news extension.
>> I have replaced all the "tt_news" bt "ttt_news" and ttnews by tttnews.
>> But something going wrong. Whan i wanna add a content, in the wizard i
>> have both plugin tt_news and ttt_news. But after in the combo list i
>> have only one, the last in localconf.php.
>> Is there another thing i have to modify ?? And i can't use both
>> extension in the same time.
>>     
>
> This line from tt_news/ext_tables.php is probably your problem:
>
>     // add tt_news to the "insert plugin" content element (list_type = 9)
> t3lib_extMgm::addPlugin(Array('LLL:EXT:tt_news/locallang_tca.php:tt_news',
> '9'));
>
> This won't work in your "new" ttt_news extension. You need to add the
> plugin in the "regular" way (addPItoTS43), which will create a new key
> for it. In your situation you are overwriting the fixed position "9"
> which is reserved for tt_news in TYPO3 core.
>
>
> Cheers,
> Ernesto
>   




More information about the TYPO3-dev mailing list