Feature #90026

Expose internal typoLinkParts in TypolinkViewHelper

Added by Oliver Hader 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2019-12-27
Due date:
% Done:

100%

PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

Description

Add possibility to expose internal parameter parts parameter target class title additionalParams in TypolinkViewHelper like shown below:

<f:link.typolink parameter="123 _top news title" parts-as="parts">
  <span class="{parts.class}">{parts.title}</span>
</f:link.typolink>

Associated revisions

Revision ccb1c2c8 (diff)
Added by Oliver Hader 3 months ago

[FEATURE] Expose internal typoLinkParts in TypolinkViewHelper

Parameters being generated internally by TypoLink using
`<f:link.typolink parts-as="typoLinkParts">` view helper are
exposed as variable and can be used in Fluid templates again,
which are:

  • url
  • target
  • class
  • title
  • additionalParams

Resolves: #90026
Releases: master
Change-Id: I6c3386ed1f177aeb98171056f5d8bd2991d6cf46
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62769
Tested-by: TYPO3com <>
Tested-by: Susanne Moog <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

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/c/Packages/TYPO3.CMS/+/62769

#2 Updated by Gerrit Code Review 4 months ago

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

#3 Updated by Gerrit Code Review 4 months ago

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

#4 Updated by Gerrit Code Review 4 months ago

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

#5 Updated by Gerrit Code Review 3 months ago

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

#6 Updated by Oliver Hader 3 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#7 Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF