[BUGFIX] Name of event tab not displayed 01/30901/2
authorLorenz Ulrich <lorenz.ulrich@visol.ch>
Tue, 4 Feb 2014 20:44:35 +0000 (21:44 +0100)
committerJochem de Groot <jochemdegroot@roquin.nl>
Fri, 20 Jun 2014 10:10:05 +0000 (12:10 +0200)
In some cases, the name of the event tab is not displayed. The adding
can be shortened anyone to one addToAllTCATypes call.

Resolves: #59681
Releases: 3.0
Change-Id: I6b86879539f75260d0cf8559d32f88ffe442870c
Reviewed-on: https://review.typo3.org/30901
Reviewed-by: Jochem de Groot
Tested-by: Jochem de Groot
ext_tables.php

index 7f00fc1..a075099 100644 (file)
@@ -68,13 +68,9 @@ $tmp_roq_newsevent_columns = array(
 
 t3lib_extMgm::addTCAcolumns('tx_news_domain_model_news', $tmp_roq_newsevent_columns);
 
-t3lib_extMgm::addToAllTCAtypes(
-    'tx_news_domain_model_news',
-    ',--div--;LLL:EXT:roq_newsevent/Resources/Private/Language/locallang_db.xml:tx_roqnewsevent_domain_model_event,'
-);
-t3lib_extMgm::addToAllTCAtypes(
-    'tx_news_domain_model_news',
-    'tx_roqnewsevent_is_event, tx_roqnewsevent_startdate, tx_roqnewsevent_starttime, tx_roqnewsevent_enddate, tx_roqnewsevent_endtime, tx_roqnewsevent_location'
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
+       'tx_news_domain_model_news',
+       ',--div--;LLL:EXT:roq_newsevent/Resources/Private/Language/locallang_db.xml:tx_roqnewsevent_domain_model_event,tx_roqnewsevent_is_event, tx_roqnewsevent_startdate, tx_roqnewsevent_starttime, tx_roqnewsevent_enddate, tx_roqnewsevent_endtime, tx_roqnewsevent_location'
 );
 
 ?>
\ No newline at end of file