Actions
Bug #96588
openURI to backend module can only be generated from BE context
Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-01-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
It seems not possible to create absolute links from the frontend to a certain backend module, is it?
Use case might be a mail triggered by a frontend user action sent to an admin, so they log into the TYPO3 backend to check that users generated input.
I've tried both ways, fluid viewhelper and php, but the resulting URI is always missing the /typo3/
slug!
fluid viewhelper: <f:be.link route="web_layout">click me</f:be.link>
php:
$uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
$uri = $uriBuilder->buildUriFromRoute('web_layout', ['id' => $pageId]);
Actions