Bug #66498
closed
Link ViewHelper in Widget View and Backend Context
Added by Jan Roth over 9 years ago.
Updated about 6 years ago.
Description
If i try to generate a normal link (non widget.link) in a widget view for backend-context the link.action viewhelper generates a wrong extension/plugin prefix for arguments and other parameters in the URL.
- Status changed from New to Resolved
This is, although slightly hard to know, actually by design. When you render templates from inside a Widget, the entire context changes and this is completely on purpose.
To work around this, make sure you add all of the necessary parameters in your `f:link.action` - extensionName, moduleName, controller, action; the full monty. It will still only generate a link that's valid in the backend, but it will do so with the right scope variables.
Frontend-compatible link generation from the backend (in a Widget or outside) is another story altogether which requires extensive emulation and is outside the area of the TYPO3 core.
Setting to "resolved" because it's by design and has a workaround.
- Status changed from Resolved to Closed
Also available in: Atom
PDF