【发布时间】:2019-01-22 10:54:10
【问题描述】:
在我的 Typo3 8.7 扩展中,我为后端注册了一个模块。不幸的是,模块本身工作正常,名称没有显示。 (模块菜单左侧列表中的名称)。
我已经阅读了 doku 并按照那里所说的做了一切。我已经多次重新激活扩展并删除了所有缓存(也安装了缓存)。
这是我在ext_tables.php 中的代码:
if (TYPO3_MODE === 'BE') {
call_user_func(
function ($extKey) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.' . $extKey,
'Customer Administration',
'Customer Administration',
'',
array(
'BackendManagement' => 'list, membershipInformationBackend',
'FrontendManageCertificate' => 'showCertificateDetails'
),
array(
'access' => 'user,group',
'icon' => 'EXT:' . $extKey . '/ext_icon_small.svg',
'labels' => 'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_shop_backend.xlf',
)
);
},
$_EXTKEY
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'someExt');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_someExt_domain_model_backendcustomer', 'EXT:someExt/Resources/Private/Language/locallang_csh_tx_someExt_domain_model_backendcustomer.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_someExt_domain_model_backendcustomer');
}
提前致谢。
【问题讨论】: