drucken :: thefox: 23.01.2011
TCA
// Festlegen welche Extensions (SQL Tabellen) bei Datensatz einfügen (shortcut) erlaubt sind
$TCA['tt_content']['columns']['records']['config']['allowed'] = 'tt_content,tt_address';
ext_tables.php
// Prüfen ob Extension (DAM) geladen wird
if(t3lib_extMgm::isLoaded('dam')) {
/* code */
}
// SQL Tabellen Records bei shortcut hinzufügen ( Beispiel tt_address )
t3lib_extMgm::addToInsertRecords('tt_address');
// setup.txt und constants.txt aus dem static Order der Extension zum einbinden anbieten
t3lib_extMgm::addStaticFile($_EXTKEY,'static/','Name welcher angezeigt wird');
//
t3lib_extMgm::addTCAcolumns('tx_dam', $tempColumns, 1);
//
t3lib_extMgm::addToAllTCAtypes();
//
t3lib_extMgm::addPlugin();
// Pfad zum Extension Ordner
t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif';
//
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_pi1', 'FILE:EXT:'.$_EXTKEY.'/pi1/flexform.xml');
ext_tables.php
// TSConfig Code hinzufügen
t3lib_extMgm::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:MeinExtensionKey/static/tsconfig.ts">');
ext_localconf.php