I’m working with TYPO3 9 and need help connecting two separate backend modules from different extensions.
I have two extensions, each with its own backend module setup:
First extension module:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'MyCompany.firstext',
'firstext',
'manager',
'',
[
'ManagerController' => 'listItems',
],
[
'access' => 'user,group',
'icon' => '...',
'labels' => '...',
]
);
Second extension module:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'MyCompany.secondext',
'secondext',
'handler',
'',
[
'HandlerController' => 'showData',
],
[
'access' => 'user,group',
'icon' => '...',
'labels' => '...',
]
);
I need to create a link from the first module that opens the second module. I tried these approaches in my FLUID template:
<f:link.action action="showData" controller="HandlerController" extensionName="firstext">Open Second Module</f:link.action>
and also:
<f:be.link route="/secondext/SecondextHandler/">Open Second Module</f:be.link>
Both attempts failed. What’s the proper way to generate these cross-module links? If the be.link approach is correct, how do I determine the right route parameter?