[TYPO3-german] Extbase Extension - DB Update wird nicht ausgführt
JCL - Johannes C. Laxander
jc at laxander.com
Wed May 14 14:02:02 CEST 2014
Hallo Bernd,
danke für deine Antwort.
> bernd wilke
> Gesendet: Mittwoch, 14. Mai 2014 13:06
>
>
> klassisch waren es früher folgende Zeilen in der ext_tables.php:
>
> t3lib_div::loadTCA('tt_address');
> t3lib_extMgm::addTCAcolumns('tt_address',$tempColumns,1);
> t3lib_extMgm::addToAllTCAtypes('tt_address','tx_myextension_my
> field;;;;1-1-1');
>
> wobei dann $tempColumns die TCA-Definition der neuen Felder ist.
>
t3lib_div::loadTCA ist seit 6.1 deprecated:
Refactoring of the TCA caching
The TCA is now cached separately in an easier way for 6.1, and available all the time. So, no need to call t3lib_div::loadTCA('tx_myext') is needed anymore.
Siehe auch: http://typo3.org/news/article/typo3-cms-61-alpha-1-released/
Für t3lib_extMgm::addToAllTCAtypes gibt man jetzt \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes an.
Ich habe in meiner ext_tables.php bisher nur dies drin und werde es mal entsprechend ergänzen:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_sccruiseplan_domain_model_cruise', 'EXT:sc_cruise_plan/Resources/Private/Language/locallang_csh_tx_sccruiseplan_domain_model_cruise.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_sccruiseplan_domain_model_cruise');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tx_sccruiseplan_domain_model_cruise', array(
...
);
Johannes.
More information about the TYPO3-german
mailing list