Bei der Extension-Entwicklung in TYPO3 kann ein Backend-Modul im Bereich „Web“ auch ohne Seitenbaum aufgerufen werden. Folgende markierte Codezeile in der ext_tables.php
ist dafür notwendig:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
if (TYPO3_MODE === 'BE') { \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule( 'Vendorname.'.$_EXTKEY, 'web', // Main area 'ExtensionModuleName', // Name of the module '', // Position of the module array( // Allowed controller action combinations 'Event' => 'index', ), array( // Additional configuration 'access' => 'admin', 'icon' => 'EXT:vendor_extensionname/Resources/Public/Icons/Extension.svg', 'labels' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_mod.xlf', 'navigationComponentId' => '', // hide pagetree ) ); } |