[TYPO3-ttnews] bodytext and extension /ext:news

Thomas Meixner tom.meixner at gmail.com
Mon Jun 4 15:43:58 CEST 2012


Conny Morgen wrote:

> BUT another consequence of choosing the new type is: The bodytext field
> disappears. So I can't edit an article when I need additional fields.

Your problem is probably related to some TCA confusion with the news type 
definition, just had the same when I added some fields.

If you created the extension with the extension_builder check out the file 
ext_tables.php. 
Relatively to the end I had the line: 

$TCA['tx_news_domain_model_news']['types']['0']['showitem'] = 
$TCA['tx_news_domain_model_news']['types']['1']['showitem'];

which I changed to 

$TCA['tx_news_domain_model_news']['types']['0']['showitem'] = 
$TCA['tx_news_domain_model_news']['types']['0']['showitem'];

et voilà,



Greets,
Thomas


More information about the TYPO3-project-tt-news mailing list