Project

General

Profile

Actions

Bug #66498

closed

Link ViewHelper in Widget View and Backend Context

Added by Jan Roth about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2015-04-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions #1

Updated by Claus Due over 8 years ago

  • 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.

Actions #2

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF