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

Backend module has no icon and title #1

Open
pengmaradi opened this issue Aug 16, 2017 · 2 comments
Open

Backend module has no icon and title #1

pengmaradi opened this issue Aug 16, 2017 · 2 comments
Assignees

Comments

@pengmaradi
Copy link

pengmaradi commented Aug 16, 2017

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

@7elix
Copy link
Contributor

7elix commented Aug 16, 2017

Can you please send a patch / pull-request for the specific files.

Thank you.

I am happy to include the change

@7elix 7elix self-assigned this Aug 16, 2017
@pengmaradi
Copy link
Author

15,16c15,20
<             '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',
>             ],

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants