Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Backend module has no icon and title #1

Description

@pengmaradi

Hello Daniel Minder, Felix Kopp,
the file ext_tables.php must like this:

if (TYPO3_MODE === 'BE') {
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
        'web',
        'txloginusertrackM1',
        'before:info',
        '',
        [
            'routeTarget' => \DannyM\Loginusertrack\Controller\LoginusertrackController::class . '::mainAction',
            'access' => 'group,user',
            'name' => 'web_txloginusertrackM1',
            //'icon' => 'EXT:loginusertrack/Resources/Public/Icons/moduleicon.gif',
            //'labels' => 'LLL:EXT:loginusertrack/Resources/Private/Language/locallang_mod.xml'
            'labels' => [
            	'tabs_images' => [
            		'tab' => 'EXT:loginusertrack/Resources/Public/Icons/moduleicon.gif'
            	],
            	'll_ref' => 'LLL:EXT:loginusertrack/Resources/Private/Language/locallang_mod.xml',
            ],
        ]
    );
}

Greeting and best thanks
Xiaoling

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions