Feature: #90026 - Expose internal typoLinkParts in TypolinkViewHelper
See forge#90026
Description
Parameters being generated internally by TypoLink using
<f:
view helper are exposed as
variable and can be used in Fluid templates.
View helper attribute parts-
(default typo
) allows to define the
variable name to be used containing the following internal parts:
- url
- target
- class
- title
- additionalParams
Details for these internal parts are documented for typolink.
in TypoScript reference
Impact
Multiple instructions for attribute parameter
(e.g. persisted to entity
record) can be used individually.
<f:link.typolink parameter="123 _top news title" parts-as="parts">
{parts.url}
{parts.target}
{parts.class}
{parts.title}
{parts.additionalParams}
</f:link.typolink>
Copied!