Actions
Feature #78459
closedAdd pageType option to f:widget.link
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2016-10-27
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
I have noticed, that the Widget\LinkViewHelper is missing a pageType argument which I expected to be available.
For AJAX requests the pageType is hardcoded to 7076 which is less than optimal IMO.
The expected behaviour would be the following (example from tx_news):
<f:widget.link arguments="{ ... }">...</f:widget.link>
links to the default page type (current behaviour)<f:widget.link pageType="1337" arguments="{ ... }">...</f:widget.link>
Links to the page type 1337<f:widget.link ajax="1" arguments="{ ... }">...</f:widget.link>
Links to page type 7076 to ensure backwards compatibility (current behaviour)<f:widget.link ajax="1" pageType="1337" arguments="{ ... }">...</f:widget.link>
Links to pageType 1337 but does not prefix the arguments
Actions