Project

General

Profile

Actions

Feature #78459

closed

Add pageType option to f:widget.link

Added by Johannes Hertenstein about 8 years ago. Updated almost 3 years ago.

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

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #92529: Remove fluid widgetsClosed2020-10-09

Actions
Actions #1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50397

Actions #2

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50397

Actions #3

Updated by Claus Due about 8 years ago

  • Category set to Fluid
Actions #4

Updated by Gerrit Code Review almost 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50397

Actions #5

Updated by Gerrit Code Review almost 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50397

Actions #6

Updated by Christian Kuhn about 6 years ago

  • Status changed from Under Review to New
Actions #7

Updated by Oliver Hader almost 3 years ago

Actions #8

Updated by Oliver Hader almost 3 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF